Interface IJEMHCommandSetProvider

  • All Superinterfaces:
    IJEMHModuleProvider

    public interface IJEMHCommandSetProvider
    extends IJEMHModuleProvider
    Implementing classes can be used to contribute to the pool of commands available
    • Method Detail

      • getCommands

        Set<String> getCommands()
        provide the keywords to activate the command, for information
        Returns:
        simple set of commands indicating capabilities of the CommandSet
      • getCommandDescription

        String getCommandDescription​(String command)
        provides text description for the commands returned by getCommands()
        Parameters:
        command - to lookup
        Returns:
        description
      • canHandle

        boolean canHandle​(String commandString)
        For an entire command , determine if the provider can handle it
        Parameters:
        commandString - to send
        Returns:
        true if can handle comment