public class ArgumentWithListValue extends ArgumentWithValue
initialStateaccess, cantAppearAfter, exclusive, fullName, index, requiredPreceding, shortName| Constructor and Description |
|---|
ArgumentWithListValue(CommandHandlerWithArguments handler,
CommandLineCompleter completer,
String fullName) |
ArgumentWithListValue(CommandHandlerWithArguments handler,
String fullName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(ParsedCommandLine args,
boolean required)
Returns the value of the argument specified on the command line.
|
getOriginalValue, getResolvedValue, getValueCompleter, getValueConverter, initParsingState, 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 ArgumentWithListValue(CommandHandlerWithArguments handler, String fullName)
public ArgumentWithListValue(CommandHandlerWithArguments handler, CommandLineCompleter completer, String fullName)
public String getValue(ParsedCommandLine args, boolean required) throws CommandFormatException
CommandArgumentgetValue in interface CommandArgumentgetValue in class ArgumentWithValueargs - parsed arguments.required - whether the value for this argument is required.CommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.