Uses of Annotation Interface
com.github.rvesse.airline.annotations.Option
Packages that use Option
Package
Description
-
Uses of Option in com.github.rvesse.airline
Fields in com.github.rvesse.airline with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.cli.aliases
Fields in com.github.rvesse.airline.examples.cli.aliases with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.cli.commands
Fields in com.github.rvesse.airline.examples.cli.commands with annotations of type OptionModifier and TypeFieldDescriptionprivate boolean
BashCompletion.includeHidden
private boolean
Help.includeHidden
private boolean
Manuals.includeHidden
-
Uses of Option in com.github.rvesse.airline.examples.inheritance
Fields in com.github.rvesse.airline.examples.inheritance with annotations of type OptionModifier and TypeFieldDescriptionprivate double
Child.child
private boolean
BadGrandchild.parent
Trying to override the option here will fail because we didn't explicitly state we were overridingprivate boolean
GoodGrandchild.parent
We can override the definition of an existing option under certain conditions:arity
,name
andoptionType
are unchanged Type is same or a valid narrowing conversion exists from the inherited option type to the overridden type You explicitly declareoverride
to betrue
and the inherited option does not definesealed
to betrue
private boolean
Parent.parent
protected boolean
BaseCommand.verbose
-
Uses of Option in com.github.rvesse.airline.examples.io
Fields in com.github.rvesse.airline.examples.io with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.modules
Fields in com.github.rvesse.airline.examples.modules with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.sendit
Fields in com.github.rvesse.airline.examples.sendit with annotations of type OptionModifier and TypeFieldDescriptionPostalAddress.addressLines
Package.depth
Package.height
PostalAddress.houseName
PostalAddress.houseNumber
PostalAddress.postCode
PostalAddress.recipient
private PostalService
Price.service
private PostalService
Send.service
Package.weight
Package.width
-
Uses of Option in com.github.rvesse.airline.examples.simple
Fields in com.github.rvesse.airline.examples.simple with annotations of type OptionModifier and TypeFieldDescriptionprivate boolean
Paths.dot
private boolean
Paths.empty
Paths.envVars
private boolean
Simple.flag
private String
Simple.name
Here we declare an option that requires a value by using thearity
field of theOption
annotationprivate int
Simple.number
As we declare this field to be of typeint
Airline will ensure that the value passed to this option can be converted to an integer and throws an error if this is not possibleprivate String
Required.optional
private String
Required.required
Paths.sysProps
-
Uses of Option in com.github.rvesse.airline.examples.userguide
Fields in com.github.rvesse.airline.examples.userguide with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.userguide.parser
Fields in com.github.rvesse.airline.examples.userguide.parser with annotations of type Option -
Uses of Option in com.github.rvesse.airline.examples.userguide.restrictions
Fields in com.github.rvesse.airline.examples.userguide.restrictions with annotations of type Option -
Uses of Option in com.github.rvesse.airline.help
Fields in com.github.rvesse.airline.help with annotations of type Option -
Uses of Option in com.github.rvesse.airline.jpms.debug
Fields in com.github.rvesse.airline.jpms.debug with annotations of type Option