The metadata about a Toggle.
The metadata about a Toggle.
the identifying name of the Toggle
.
These should generally be fully qualified names to avoid conflicts
between libraries. For example, "com.twitter.finagle.CoolThing".
Valid characters are A-Z
, a-z
, 0-9
, _
, -
, .
.
See Toggle$.isValidId.
must be between 0.0 and 1.0
, inclusive.
This represents the fraction of inputs that will
return true
. See Toggle$.isValidFraction.
human-readable description of the Toggle's purpose.
the origin of this Toggle which is often given by
toString
of the ToggleMap that created it.
Whether or not the given fraction
is valid.
Whether or not the given fraction
is valid.
must be between 0.0 and 1.0
, inclusive.
This represents the fraction of inputs that will
return true
.
Whether or not the given id
is valid.
Whether or not the given id
is valid.
the identifying name of the Toggle
.
These should generally be fully qualified names to avoid conflicts
between libraries. For example, "com.twitter.finagle.CoolThing".
Valid characters are A-Z
, a-z
, 0-9
, _
, -
, .
.
A Toggle which is defined for all inputs and always returns false
.
A Toggle which is defined for all inputs and always returns true
.