Class ExecuteShellCollectInfoCommand

    • Field Detail

      • mCommands

        protected java.util.Map<java.lang.String,​alluxio.shell.ShellCommand> mCommands
      • mCommandsAlt

        protected java.util.Map<java.lang.String,​alluxio.shell.ShellCommand> mCommandsAlt
    • Constructor Detail

      • ExecuteShellCollectInfoCommand

        public ExecuteShellCollectInfoCommand​(alluxio.client.file.FileSystemContext fsContext)
        Creates a new instance of ExecuteShellCollectInfoCommand.
        Parameters:
        fsContext - the FileSystemContext to execute in
    • Method Detail

      • registerCommands

        protected abstract void registerCommands()
      • registerCommand

        protected void registerCommand​(java.lang.String name,
                                       alluxio.shell.ShellCommand cmd,
                                       alluxio.shell.ShellCommand alternativeCmd)
      • run

        public int run​(org.apache.commons.cli.CommandLine cl)
                throws alluxio.exception.AlluxioException,
                       java.io.IOException
        Throws:
        alluxio.exception.AlluxioException
        java.io.IOException