Class CommandAction

    • Constructor Detail

      • CommandAction

        protected CommandAction​(ActionBuilder.Input input)
        Create a new action
        Parameters:
        input - the input
    • Method Detail

      • getFinalCommand

        protected String getFinalCommand​(UUID uuid)
        Get the final command to use in the dispatch method
        Parameters:
        uuid - the unique id
        Returns:
        the final command
      • shouldBeTrimmed

        protected boolean shouldBeTrimmed()
        Description copied from class: BaseAction
        Check if the string should be trimmed
        Overrides:
        shouldBeTrimmed in class BaseAction
        Returns:
        true if it should