Package alluxio.cli.job
Class JobShell
- java.lang.Object
-
- alluxio.cli.AbstractShell
-
- alluxio.cli.job.JobShell
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@NotThreadSafe public final class JobShell extends alluxio.cli.AbstractShellClass for handling job command line inputs.
-
-
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 JobShell.
-
-
-
Constructor Detail
-
JobShell
public JobShell(alluxio.conf.AlluxioConfiguration alluxioConf)
Creates a new instance ofJobShell.- Parameters:
alluxioConf- Alluxio configuration
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv) throws java.io.IOExceptionMain method, starts a new JobShell.- 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
-
-