All Implemented Interfaces:
ExampleRunnable

@Command(name="good-grandchild", description="A legal command which overrides an option defined by a parent") public class GoodGrandchild extends Child
When inheriting from existing classes it is possible to override previously defined options but only if you are explicit about it. In this case Airline uses the bottom-most definition of the option as the effective definition

Note that any values set for options are propagated to all declarations in the inheritance tree since an ancestor class will not have access to fields set in the descendants.

  • Constructor Details

    • GoodGrandchild

      public GoodGrandchild()
  • Method Details

    • main

      public static void main(String[] args)