public class CollectEnvCommand extends ExecuteShellCollectInfoCommand
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_NAME |
mCommands, mCommandsAlt
mFsContext, mWorkingDirPath
Constructor and Description |
---|
CollectEnvCommand(FileSystemContext fsContext)
Creates a new instance of
CollectEnvCommand . |
Modifier and Type | Method and Description |
---|---|
String |
getCommandName()
Gets the command name as input from the shell.
|
String |
getDescription() |
String |
getUsage() |
boolean |
hasSubCommand()
If a command has sub-commands, the first argument should be the sub-command's name,
all arguments and options will be parsed for the sub-command.
|
protected void |
registerCommands() |
registerCommand, run
generateOutputFile, getWorkingDirectory, validateArgs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getOptions, getSubCommands, parseAndValidateArgs
public static final String COMMAND_NAME
public CollectEnvCommand(FileSystemContext fsContext)
CollectEnvCommand
.fsContext
- the FileSystemContext
to execute inprotected void registerCommands()
registerCommands
in class ExecuteShellCollectInfoCommand
public String getCommandName()
Command
public boolean hasSubCommand()
Command
public String getUsage()
public String getDescription()
Copyright © 2023. All Rights Reserved.