Class ListCommand

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

    public final class ListCommand
    extends AbstractFsAdminCommand
    Lists paths that have path level configuration.
    • Constructor Detail

      • ListCommand

        public ListCommand​(Context context,
                           alluxio.conf.AlluxioConfiguration alluxioConf)
        Parameters:
        context - fsadmin command context
        alluxioConf - Alluxio configuration
    • 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)
                throws alluxio.exception.AlluxioException,
                       java.io.IOException
        Throws:
        alluxio.exception.AlluxioException
        java.io.IOException
      • getUsage

        public java.lang.String getUsage()
      • description

        public static java.lang.String description()
        Returns:
        command's description
      • getDescription

        public java.lang.String getDescription()