Class Help

  • All Implemented Interfaces:
    org.apache.commons.chain.Command

    public class Help
    extends Object
    implements org.apache.commons.chain.Command
    Show available Commands. If a Command is specified it will show its description, usage and parameters.
    • Constructor Detail

      • Help

        public Help()
    • Method Detail

      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.apache.commons.chain.Command
        Throws:
        Exception
      • getCommandKey

        public String getCommandKey()
        Returns:
        the command key
      • setCommandKey

        public void setCommandKey​(String commandKey)
        Parameters:
        commandKey - the command key to set