Return this flag's current value.
Return this flag's current value. The default value is returned when the flag has not otherwise been set.
String representation of this flag's default value
Get the value if it has been set
True if the flag has been set
Override the value of this flag with t
, only for the scope of the current
com.twitter.util.Local for the given function f
.
Indicates whether or not the flag is valid without an argument.
Parse this flag with no argument.
Parse value raw
into this flag.
Reset this flag's value
String representation of this flag in -foo='bar' format, suitable for being used on the command line.
String representation of this flag in -foo='bar' format, suitable for being used on the command line.
A single command-line flag, instantiated by a com.twitter.app.Flags instance. Its current value can be extracted via
apply()
.com.twitter.app.Flags