Package alluxio.cli.fsadmin.pathconf
Class ListCommand
- java.lang.Object
-
- alluxio.cli.fsadmin.command.AbstractFsAdminCommand
-
- alluxio.cli.fsadmin.pathconf.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.
-
-
Field Summary
-
Fields inherited from class alluxio.cli.fsadmin.command.AbstractFsAdminCommand
mBlockClient, mFsClient, mJobMasterClient, mJobMasterJournalMasterClient, mMasterJournalMasterClient, mMetaClient, mMetaConfigClient, mMetricsClient, mPrintStream
-
-
Constructor Summary
Constructors Constructor Description ListCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringdescription()java.lang.StringgetCommandName()java.lang.StringgetDescription()java.lang.StringgetUsage()intrun(org.apache.commons.cli.CommandLine cl)voidvalidateArgs(org.apache.commons.cli.CommandLine cl)
-
-
-
Constructor Detail
-
ListCommand
public ListCommand(Context context, alluxio.conf.AlluxioConfiguration alluxioConf)
- Parameters:
context- fsadmin command contextalluxioConf- 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.AlluxioExceptionjava.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()
-
-