public class ConditionArgument extends ArgumentWithValue
initialStateaccess, cantAppearAfter, exclusive, fullName, index, requiredPreceding, shortName| Constructor and Description |
|---|
ConditionArgument(CommandHandlerWithArguments handler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResolvedValue(ParsedCommandLine parsedLine,
boolean required)
Calls getOriginalValue(ParsedCommandLine parsedLine, boolean required) and correctly
handles escape sequences and resolves system properties.
|
protected ParsingState |
initParsingState() |
Operation |
resolveOperation(ParsedCommandLine parsedLine) |
getOriginalValue, getValue, getValueCompleter, getValueConverter, isValueComplete, isValueRequired, resolveValue, resolveValue, toModelNodeaddCantAppearAfter, addRequiredPreceding, canAppearNext, getFullName, getIndex, getShortName, getValue, isExclusive, isPresent, setAccessRequirement, setExclusiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecoratedNamepublic ConditionArgument(CommandHandlerWithArguments handler)
protected ParsingState initParsingState()
initParsingState in class ArgumentWithValuepublic String getResolvedValue(ParsedCommandLine parsedLine, boolean required) throws CommandFormatException
ArgumentWithValuegetResolvedValue in class ArgumentWithValueparsedLine - parsed command linerequired - whether the argument is requiredCommandFormatException - in case the required argument is missingpublic Operation resolveOperation(ParsedCommandLine parsedLine) throws CommandFormatException
CommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.