Class HelpCommand

java.lang.Object
com.sun.enterprise.admin.cli.CLICommand
com.sun.enterprise.admin.cli.HelpCommand
All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct

@Service(name="help") @PerLookup public class HelpCommand extends CLICommand
The help command will display the help text for all the commands and their options
  • Constructor Details

    • HelpCommand

      public HelpCommand()
  • Method Details

    • executeCommand

      protected int executeCommand() throws org.glassfish.api.admin.CommandException, org.glassfish.api.admin.CommandValidationException
      Description copied from class: CLICommand
      Execute the command using the options in options and the operands in operands.
      Specified by:
      executeCommand in class CLICommand
      Returns:
      the exit code
      Throws:
      org.glassfish.api.admin.CommandException - if execution of the command fails
      org.glassfish.api.admin.CommandValidationException - if there's something wrong with the options or arguments