public class XMLValidationAllFilesCommand extends Object implements IXMLCommandService.IDelegateCommandHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND_ID |
| Constructor and Description |
|---|
XMLValidationAllFilesCommand(ContentModelManager contentModelManager,
IXMLDocumentProvider documentProvider,
IXMLValidationService validationService) |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Executes a command
|
public static final String COMMAND_ID
public XMLValidationAllFilesCommand(ContentModelManager contentModelManager, IXMLDocumentProvider documentProvider, IXMLValidationService validationService)
public Object executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
IXMLCommandService.IDelegateCommandHandlerexecuteCommand in interface IXMLCommandService.IDelegateCommandHandlerparams - command execution parameterssharedSettings - the shared settings.cancelChecker - check if cancel has been requestedException - the unhandled exception will be wrapped in
org.eclipse.lsp4j.jsonrpc.ResponseErrorException
and be wired back to the JSON-RPC protocol callerCopyright © 2021. All rights reserved.