Uses of Interface
org.flasby.cli.Option
Packages that use Option
-
Uses of Option in org.flasby.cli
Subinterfaces of Option in org.flasby.cliModifier and TypeInterfaceDescriptioninterface
defines an Option which has no value.interface
behaves the same as an Option except that it can have multiple values rather than a single value.Methods in org.flasby.cli that return OptionModifier and TypeMethodDescriptionadd a new Option to this option collection.create an option which is not mandatory and has no defailt value.create a new option with control over if the option must be specified.create an option which is optional and has a default value.InvalidOptionFormatException.getOption()
MissingRequiredOptionException.getOption()
abstract Option
OptionException.getOption()
UnknownArgumentException.getOption()
Option[]
Options.getOptions()
returns the options set on this collection of options.Methods in org.flasby.cli with parameters of type OptionModifier and TypeMethodDescriptionadd a new Option to this option collection.returns the value of the option, if any.boolean
CommandLine.wasProvided
(Option option) informs if the specified Option was provided on the commandline.Constructors in org.flasby.cli with parameters of type OptionModifierConstructorDescriptionBigDecimalOption
(Option opt) FileOption
(Option opt) IntegerOption
(Option opt) InvalidOptionFormatException
(Options options, Option requiredOption, String suppliedValue) MissingRequiredOptionException
(Option requiredOption, Options options) -
Uses of Option in org.flasby.cli.impl
Methods in org.flasby.cli.impl with parameters of type Option