@ThreadSafe @Deprecated public final class FileInfoCommand extends AbstractFileSystemCommand
mFileSystem
Constructor and Description |
---|
FileInfoCommand(FileSystem fs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Deprecated.
Gets the command name as input from the shell.
|
String |
getDescription()
Deprecated.
|
String |
getUsage()
Deprecated.
|
int |
run(org.apache.commons.cli.CommandLine cl)
Deprecated.
Runs the command.
|
void |
validateArgs(org.apache.commons.cli.CommandLine cl)
Deprecated.
Checks if the arguments are valid or throw InvalidArgumentException.
|
runPlainPath, runWildCardCmd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptions, parseAndValidateArgs
public FileInfoCommand(FileSystem fs)
fs
- the filesystem of Alluxiopublic String getCommandName()
Command
public int run(org.apache.commons.cli.CommandLine cl)
Command
cl
- the parsed command line for the argumentspublic String getUsage()
public String getDescription()
public void validateArgs(org.apache.commons.cli.CommandLine cl) throws InvalidArgumentException
Command
cl
- the parsed command line for the argumentsInvalidArgumentException
- when arguments are not validCopyright © 2023. All Rights Reserved.