public class ArgHandlerStrictResources extends ArgHandlerFlag
Constructor and Description |
---|
ArgHandlerStrictResources(OptionStrictResources 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 |
isExperimental() |
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, isUndocumented
public ArgHandlerStrictResources(OptionStrictResources options)
public boolean getDefaultValue()
ArgHandlerFlag
getDefaultValue
in class ArgHandlerFlag
public String getLabel()
ArgHandlerFlag
getLabel
in class ArgHandlerFlag
public String getPurposeSnippet()
ArgHandlerFlag
getPurposeSnippet
in class ArgHandlerFlag
public boolean isExperimental()
isExperimental
in class ArgHandler
public boolean setFlag(boolean value)
ArgHandlerFlag
setFlag
in class ArgHandlerFlag
value
- the new value for the flag.Copyright © 2018. All rights reserved.