Class Discussed

  • All Implemented Interfaces:
    ExampleRunnable

    @Command(name="discussed",
             description="A command with a discussion section")
    @Discussion(paragraphs={"This command uses the @Discussion annotation to add a discussion section to its help","This is an example of using a Help Section annotation to add content into our generated help output."})
    public class Discussed
    extends java.lang.Object
    implements ExampleRunnable
    • Constructor Summary

      Constructors 
      Constructor Description
      Discussed()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      int run()
      Runs the command and returns an exit code that the application should return
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Discussed

        public Discussed()
    • Method Detail

      • run

        public int run()
        Description copied from interface: ExampleRunnable
        Runs the command and returns an exit code that the application should return
        Specified by:
        run in interface ExampleRunnable
        Returns:
        Exit code
      • main

        public static void main​(java.lang.String[] args)