public abstract class ExecuteShellCollectInfoCommand extends AbstractCollectInfoCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,ShellCommand> |
mCommands |
protected java.util.Map<java.lang.String,ShellCommand> |
mCommandsAlt |
mFsContext, mWorkingDirPath| Constructor and Description |
|---|
ExecuteShellCollectInfoCommand(FileSystemContext fsContext)
Creates a new instance of
ExecuteShellCollectInfoCommand. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
registerCommand(java.lang.String name,
ShellCommand cmd,
ShellCommand alternativeCmd) |
protected abstract void |
registerCommands() |
int |
run(org.apache.commons.cli.CommandLine cl) |
generateOutputFile, getWorkingDirectory, validateArgsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getCommandName, getDescription, getOptions, getSubCommands, getUsage, hasSubCommand, parseAndValidateArgsprotected java.util.Map<java.lang.String,ShellCommand> mCommands
protected java.util.Map<java.lang.String,ShellCommand> mCommandsAlt
public ExecuteShellCollectInfoCommand(FileSystemContext fsContext)
ExecuteShellCollectInfoCommand.fsContext - the FileSystemContext to execute inprotected abstract void registerCommands()
protected void registerCommand(java.lang.String name,
ShellCommand cmd,
ShellCommand alternativeCmd)
public int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionCopyright © 2022. All Rights Reserved.