public class FileSystemPathArgument extends ArgumentWithValue
access, cantAppearAfter, exclusive, fullName, index, requiredPreceding, shortName| Constructor and Description |
|---|
FileSystemPathArgument(CommandHandlerWithArguments handler,
FilenameTabCompleter completer,
int index,
String name) |
FileSystemPathArgument(CommandHandlerWithArguments handler,
FilenameTabCompleter completer,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue(ParsedCommandLine args,
boolean required)
Returns the value of the argument specified on the command line.
|
protected ParsingState |
initParsingState() |
getOriginalValue, getResolvedValue, getValueCompleter, getValueConverter, isValueComplete, isValueRequired, resolveValue, resolveValue, toModelNodeaddCantAppearAfter, addRequiredPreceding, canAppearNext, getFullName, getIndex, getShortName, getValue, isPresent, setAccessRequirement, setExclusivepublic FileSystemPathArgument(CommandHandlerWithArguments handler, FilenameTabCompleter completer, int index, String name)
public FileSystemPathArgument(CommandHandlerWithArguments handler, FilenameTabCompleter completer, String name)
protected ParsingState initParsingState()
initParsingState in class ArgumentWithValuepublic 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 © 2014 JBoss by Red Hat. All rights reserved.