Interface WeaveCommand
-
public interface WeaveCommandA Command to be executed on the LSP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringcommandId()java.lang.Stringdescription(org.eclipse.lsp4j.ExecuteCommandParams params)This message is going to be presented to the user as information of what the command is runningjava.lang.Objectexecute(org.eclipse.lsp4j.ExecuteCommandParams params)Executes the given command with the specified parametersjava.lang.Stringname()
-
-
-
Method Detail
-
commandId
java.lang.String commandId()
- Returns:
- The id of the underlying command
-
name
java.lang.String name()
- Returns:
- The name of the command
-
description
java.lang.String description(org.eclipse.lsp4j.ExecuteCommandParams params)
This message 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
java.lang.Object execute(org.eclipse.lsp4j.ExecuteCommandParams params)
Executes the given command with the specified parameters- Parameters:
params- The command parameters- Returns:
- The result of the executed command.
-
-