Class DocsHandler

java.lang.Object
com.vaadin.copilot.plugins.docs.DocsHandler
All Implemented Interfaces:
CopilotCommand

public class DocsHandler extends Object implements CopilotCommand
  • Constructor Details

    • DocsHandler

      public DocsHandler()
  • Method Details

    • handleMessage

      public boolean handleMessage(String command, elemental.json.JsonObject data, DevToolsInterface devToolsInterface)
      Specified by:
      handleMessage in interface CopilotCommand
    • getLogger

      protected org.slf4j.Logger getLogger()
    • canBeParallelCommand

      public boolean canBeParallelCommand(String command)
      Description copied from interface: CopilotCommand
      Checks if given command can be handled asynchronously. If the handler can't be asynchronous at all, it can return false always. But if you want to handle one or more commands asynchronously, you should specify the exact command to prevent handling commands that are not part of the handler as asynchronous.
      Specified by:
      canBeParallelCommand in interface CopilotCommand
      Returns:
      true if the command can be handled by this command handler