Uses of Class
com.github.rvesse.airline.annotations.Option
-
-
Uses of Option in com.github.rvesse.airline
Fields in com.github.rvesse.airline with annotations of type Option Modifier and Type Field Description java.lang.Boolean
HelpOption. help
-
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 Modifier and Type Field Description private Logs.Format
Logs. format
-
Uses of Option in com.github.rvesse.airline.examples.cli.commands
Fields in com.github.rvesse.airline.examples.cli.commands with annotations of type Option Modifier and Type Field Description private 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 Option Modifier and Type Field Description private 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 Modifier and Type Field Description private boolean
ColorDemo. background
private int
ColorsTrue. blue
private int
Colors256. color
private int
ColorsTrue. green
private boolean
ColorDemo. hardReset
private boolean
Decorations. hardReset
private int
ColorsTrue. red
-
Uses of Option in com.github.rvesse.airline.examples.modules
Fields in com.github.rvesse.airline.examples.modules with annotations of type Option Modifier and Type Field Description java.lang.String
CredentialsModule. password
java.lang.String
CredentialsModule. user
int
VerbosityModule. verbosity
-
Uses of Option in com.github.rvesse.airline.examples.sendit
Fields in com.github.rvesse.airline.examples.sendit with annotations of type Option Modifier and Type Field Description java.util.List<java.lang.String>
PostalAddress. addressLines
java.lang.Integer
Package. depth
java.lang.Integer
Package. height
java.lang.String
PostalAddress. houseName
java.lang.Integer
PostalAddress. houseNumber
java.lang.String
PostalAddress. postCode
java.lang.String
PostalAddress. recipient
private PostalService
Price. service
private PostalService
Send. service
java.lang.Double
Package. weight
java.lang.Integer
Package. width
-
Uses of Option in com.github.rvesse.airline.examples.simple
Fields in com.github.rvesse.airline.examples.simple with annotations of type Option Modifier and Type Field Description private boolean
Paths. dot
private boolean
Paths. empty
private java.util.List<java.lang.String>
Paths. envVars
private boolean
Simple. flag
private java.lang.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 java.lang.String
Required. optional
private java.lang.String
Required. required
private java.util.List<java.lang.String>
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 Modifier and Type Field Description private boolean
GettingStarted. flag
-
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 Modifier and Type Field Description private java.lang.Long
ByteCalculator. bytes
-
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 Modifier and Type Field Description private java.lang.String
OptionalOption. name
private java.lang.String
RequiredOption. name
-
Uses of Option in com.github.rvesse.airline.help
Fields in com.github.rvesse.airline.help with annotations of type Option Modifier and Type Field Description boolean
Help. includeHidden
-
Uses of Option in com.github.rvesse.airline.jpms.debug
Fields in com.github.rvesse.airline.jpms.debug with annotations of type Option Modifier and Type Field Description private java.util.List<java.lang.String>
Debug. modules
private java.lang.String
Debug. pattern
private boolean
Debug. showModuleName
private boolean
Debug. testOpen
private boolean
Debug. testPrint
-