java.lang.Object
com.github.rvesse.airline.examples.inheritance.Parent
com.github.rvesse.airline.examples.inheritance.Child
All Implemented Interfaces:
ExampleRunnable
Direct Known Subclasses:
BadGrandchild, GoodGrandchild

@Command(name="child", description="A child command inherits options from its parents and ") public class Child extends Parent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private double
     

    Fields inherited from class com.github.rvesse.airline.examples.inheritance.Parent

    help
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(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
  • Field Details

  • Constructor Details

    • Child

      public Child()
  • Method Details

    • main

      public static void main(String[] args)
    • 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
      Overrides:
      run in class Parent
      Returns:
      Exit code