public class ArgHandlerDisableClassMetadata extends ArgHandlerFlag
Constructor and Description |
---|
ArgHandlerDisableClassMetadata(OptionDisableClassMetadata 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 |
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 ArgHandlerDisableClassMetadata(OptionDisableClassMetadata 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 isExperimental()
isExperimental
in class ArgHandler
public boolean getDefaultValue()
ArgHandlerFlag
getDefaultValue
in class ArgHandlerFlag
Copyright © 2018. All rights reserved.