public class ArgHandlerSoyc extends ArgHandlerFlag
Constructor and Description |
---|
ArgHandlerSoyc(OptionSoycEnabled options) |
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultValue()
Returns the default value that will appear in help messages.
|
String |
getLabel()
The root String that will be munged into -label and -nolabel variants for flag value toggling.
|
String |
getPurposeSnippet()
Returns a description that will be mixed together with default value to come up with the
overall flag purpose.
|
boolean |
isUndocumented() |
boolean |
setFlag(boolean value)
Takes the explicitly provided value and propagates it into whatever option settings this flag
controls.
|
addTagValue, getHelpTag, getPurpose, getTag, getTagArgs, getTags, handle, isRequired
getDefaultArgs, isExperimental
public ArgHandlerSoyc(OptionSoycEnabled options)
public String getPurposeSnippet()
ArgHandlerFlag
getPurposeSnippet
in class ArgHandlerFlag
public String getLabel()
ArgHandlerFlag
getLabel
in class ArgHandlerFlag
public boolean isUndocumented()
isUndocumented
in class ArgHandler
public boolean setFlag(boolean value)
ArgHandlerFlag
setFlag
in class ArgHandlerFlag
value
- the new value for the flag.public boolean getDefaultValue()
ArgHandlerFlag
getDefaultValue
in class ArgHandlerFlag
Copyright © 2018. All rights reserved.