Class SimpleJettyHTTPServer.Command

    • Constructor Detail

      • Command

        public Command()
    • Method Detail

      • commandname

        public java.lang.String commandname()
        Description copied from class: CLITool
        What commandname should this command respond to
        Overrides:
        commandname in class CLITool
      • help

        public java.lang.String help()
        Description copied from class: CLITool
        Return a long message about how to use this command
        Overrides:
        help in class CLITool.CLIParsedCLITool
      • helpsummary

        public java.lang.String helpsummary()
        Description copied from class: CLITool
        Returns a short sentence about what this command is for
        Overrides:
        helpsummary in class CLITool
      • run

        public int run​(org.apache.commons.cli.CommandLine line)
                throws java.lang.Exception
        Specified by:
        run in class CLITool.CLIParsedCLITool
        Throws:
        java.lang.Exception
      • sourcepackage

        public java.lang.String sourcepackage()
        Overrides:
        sourcepackage in class CLITool