@ThreadSafe @PublicApi public final class TailCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext| Constructor and Description |
|---|
TailCommand(FileSystemContext fsContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl) |
protected void |
runPlainPath(AlluxioURI path,
org.apache.commons.cli.CommandLine cl)
Runs the command for a particular URI that does not contain wildcard in its path.
|
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
processHeader, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getSubCommands, hasSubCommand, parseAndValidateArgspublic TailCommand(FileSystemContext fsContext)
fsContext - the filesystem of Alluxiopublic java.lang.String getCommandName()
protected void runPlainPath(AlluxioURI path, org.apache.commons.cli.CommandLine cl) throws AlluxioException, java.io.IOException
AbstractFileSystemCommandrunPlainPath in class AbstractFileSystemCommandpath - an AlluxioURI that does not contain wildcardcl - object containing the original commandLineAlluxioExceptionjava.io.IOExceptionpublic int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionpublic java.lang.String getUsage()
public java.lang.String getDescription()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic org.apache.commons.cli.Options getOptions()
Copyright © 2022. All Rights Reserved.