Interface WeaveCommand
public interface WeaveCommand
A Command to be executed on the LSP.
-
Method Summary
Modifier and TypeMethodDescriptiondescription(org.eclipse.lsp4j.ExecuteCommandParams params) This messages is going to be presented to the user as information of what the command is runningexecute(org.eclipse.lsp4j.ExecuteCommandParams params) Executes the given command with the specified parametersname()
-
Method Details
-
commandId
String commandId()- Returns:
- The id of the underlying command
-
name
String name()- Returns:
- The name of the command
-
description
This messages is going to be presented to the user as information of what the command is running- Parameters:
params- The command parameters.- Returns:
- A description of the current command is doing.
-
execute
Executes the given command with the specified parameters- Parameters:
params- The command parameters- Returns:
- The result of the executed command.
-