public final class ArgHandlerValidateOnlyFlag extends ArgHandlerFlag
Constructor and Description |
---|
ArgHandlerValidateOnlyFlag(OptionValidateOnly option) |
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 |
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, isUndocumented
public ArgHandlerValidateOnlyFlag(OptionValidateOnly option)
public String getPurposeSnippet()
ArgHandlerFlag
getPurposeSnippet
in class ArgHandlerFlag
public String getLabel()
ArgHandlerFlag
getLabel
in class ArgHandlerFlag
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.