Class AnnotatedCommand

    • Constructor Detail

      • AnnotatedCommand

        public AnnotatedCommand()
    • Method Detail

      • name

        public String name()
        Returns:
        the command name
      • cli

        public CLI cli()
        Returns:
        the command line interface, can be null
      • process

        public abstract void process​(CommandProcess process)
        Process the command, when the command is done processing it should call the CommandProcess.end() method.
        Parameters:
        process - the command process