public class CollectConfigCommand extends AbstractCollectInfoCommand
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_NAME |
mFsContext, mWorkingDirPath
Constructor and Description |
---|
CollectConfigCommand(FileSystemContext fsContext)
Creates a new instance of
CollectConfigCommand . |
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl)
Runs the command.
|
generateOutputFile, getWorkingDirectory, validateArgs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getOptions, getSubCommands, hasSubCommand, parseAndValidateArgs
public static final String COMMAND_NAME
public CollectConfigCommand(FileSystemContext fsContext)
CollectConfigCommand
.fsContext
- the FileSystemContext
to execute inpublic String getCommandName()
Command
public int run(org.apache.commons.cli.CommandLine cl) throws AlluxioException, IOException
Command
cl
- the parsed command line for the argumentsAlluxioException
IOException
public String getUsage()
public String getDescription()
Copyright © 2023. All Rights Reserved.