Class ListCommand

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

    @ThreadSafe
    @PublicApi
    public final class ListCommand
    extends AbstractFileSystemCommand
    Lists the job ids in the history.
    • Constructor Detail

      • ListCommand

        public ListCommand​(alluxio.client.file.FileSystemContext fsContext)
        Creates the job list command.
        Parameters:
        fsContext - the Alluxio filesystem client
    • Method Detail

      • getCommandName

        public java.lang.String getCommandName()
      • validateArgs

        public void validateArgs​(org.apache.commons.cli.CommandLine cl)
                          throws alluxio.exception.status.InvalidArgumentException
        Throws:
        alluxio.exception.status.InvalidArgumentException
      • run

        public int run​(org.apache.commons.cli.CommandLine cl)
      • getUsage

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()