Interface WeaveCommand


public interface WeaveCommand
A Command to be executed on the LSP.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    description(org.eclipse.lsp4j.ExecuteCommandParams params)
    This message is going to be presented to the user as information of what the command is running
    execute(org.eclipse.lsp4j.ExecuteCommandParams params)
    Executes the given command with the specified parameters
     
  • Method Details

    • commandId

      String commandId()
      Returns:
      The id of the underlying command
    • name

      String name()
      Returns:
      The name of the command
    • description

      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

      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.