Class ModuleReuse

  • All Implemented Interfaces:
    ExampleRunnable

    @Command(name="module-reuse",
             description="A command that demonstrates re-use of modules and composition with locally defined options")
    public class ModuleReuse
    extends java.lang.Object
    implements ExampleRunnable
    Here we have another command which reuses module classes we've defined and also adds locally defined options, we can
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuleReuse()  
    • 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