public class FileSystemPathArgument extends ArgumentWithValue
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)
Returns the value of the argument specified on the command line.
|
getValue, getValueCompleter, getValueConverter, isValueComplete, isValueRequired
addCantAppearAfter, addRequiredPreceding, canAppearNext, getFullName, getIndex, getShortName, isPresent, setExclusive
public FileSystemPathArgument(CommandHandlerWithArguments handler, FilenameTabCompleter completer, int index, String name)
public FileSystemPathArgument(CommandHandlerWithArguments handler, FilenameTabCompleter completer, String name)
public String getValue(ParsedCommandLine args)
CommandArgument
getValue
in interface CommandArgument
getValue
in class ArgumentWithoutValue
args
- parsed arguments.Copyright © 2013 JBoss by Red Hat. All rights reserved.