Class JobShell

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @NotThreadSafe
    public final class JobShell
    extends alluxio.cli.AbstractShell
    Class for handling job command line inputs.
    • Field Summary

      • Fields inherited from class alluxio.cli.AbstractShell

        mCloser, mConfiguration
    • Constructor Summary

      Constructors 
      Constructor Description
      JobShell​(alluxio.conf.AlluxioConfiguration alluxioConf)
      Creates a new instance of JobShell.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getShellName()  
      protected java.util.Map<java.lang.String,​alluxio.cli.Command> loadCommands()  
      static void main​(java.lang.String[] argv)
      Main method, starts a new JobShell.
      • Methods inherited from class alluxio.cli.AbstractShell

        close, getCommands, printUsage, run
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobShell

        public JobShell​(alluxio.conf.AlluxioConfiguration alluxioConf)
        Creates a new instance of JobShell.
        Parameters:
        alluxioConf - Alluxio configuration
    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
                         throws java.io.IOException
        Main 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:
        getShellName in class alluxio.cli.AbstractShell
      • loadCommands

        protected java.util.Map<java.lang.String,​alluxio.cli.Command> loadCommands()
        Specified by:
        loadCommands in class alluxio.cli.AbstractShell