Package alluxio.cli.fs
Class FileSystemShell
- java.lang.Object
-
- alluxio.cli.AbstractShell
-
- alluxio.cli.fs.FileSystemShell
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@NotThreadSafe public final class FileSystemShell extends alluxio.cli.AbstractShellClass for handling command line inputs.
-
-
Constructor Summary
Constructors Constructor Description FileSystemShell(alluxio.conf.AlluxioConfiguration alluxioConf)Creates a new instance ofFileSystemShell.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetShellName()protected java.util.Map<java.lang.String,alluxio.cli.Command>loadCommands()static voidmain(java.lang.String[] argv)Main method, starts a new FileSystemShell.
-
-
-
Constructor Detail
-
FileSystemShell
public FileSystemShell(alluxio.conf.AlluxioConfiguration alluxioConf)
Creates a new instance ofFileSystemShell.- Parameters:
alluxioConf- Alluxio configuration
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv) throws java.io.IOExceptionMain method, starts a new FileSystemShell.- Parameters:
argv- array of arguments given by the user's input from the terminal- Throws:
java.io.IOException
-
getShellName
protected java.lang.String getShellName()
- Specified by:
getShellNamein classalluxio.cli.AbstractShell
-
loadCommands
protected java.util.Map<java.lang.String,alluxio.cli.Command> loadCommands()
- Specified by:
loadCommandsin classalluxio.cli.AbstractShell
-
-