public interface Switch extends Option<Boolean>
org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V>, org.refcodes.mixin.ValueAccessor.ValueProperty<V>
org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B extends org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B>>, org.refcodes.mixin.DescriptionAccessor.DescriptionMutator, org.refcodes.mixin.DescriptionAccessor.DescriptionProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
ArgsAccessor.ArgsMutator, ArgsAccessor.ArgsProperty
Modifier and Type | Method and Description |
---|---|
default boolean |
isEnabled()
Returns true if the switch has been provided.
|
getLongOption, getShortOption
get, getAlias, getArgs, getValue, hasValue
parseArgs, toState, toSyntax
toUsage, toUsage
compareTo
default boolean isEnabled()
Operand.getValue()
is true
.Switch
has been provided (set), else
false.Copyright © 2018. All rights reserved.