Package alluxio.cli.bundler.command
Class CollectConfigCommand
- java.lang.Object
-
- alluxio.cli.bundler.command.AbstractCollectInfoCommand
-
- alluxio.cli.bundler.command.CollectConfigCommand
-
- All Implemented Interfaces:
alluxio.cli.Command,java.io.Closeable,java.lang.AutoCloseable
public class CollectConfigCommand extends AbstractCollectInfoCommand
Command to collect Alluxio config files.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMMAND_NAME-
Fields inherited from class alluxio.cli.bundler.command.AbstractCollectInfoCommand
mFsContext, mWorkingDirPath
-
-
Constructor Summary
Constructors Constructor Description CollectConfigCommand(alluxio.client.file.FileSystemContext fsContext)Creates a new instance ofCollectConfigCommand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandName()java.lang.StringgetDescription()java.lang.StringgetUsage()intrun(org.apache.commons.cli.CommandLine cl)-
Methods inherited from class alluxio.cli.bundler.command.AbstractCollectInfoCommand
generateOutputFile, getWorkingDirectory, validateArgs
-
-
-
-
Field Detail
-
COMMAND_NAME
public static final java.lang.String COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectConfigCommand
public CollectConfigCommand(alluxio.client.file.FileSystemContext fsContext)
Creates a new instance ofCollectConfigCommand.- Parameters:
fsContext- theFileSystemContextto execute in
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
-
run
public int run(org.apache.commons.cli.CommandLine cl) throws alluxio.exception.AlluxioException, java.io.IOException- Throws:
alluxio.exception.AlluxioExceptionjava.io.IOException
-
getUsage
public java.lang.String getUsage()
-
getDescription
public java.lang.String getDescription()
-
-