@ThreadSafe @PublicApi public final class CopyFromLocalCommand extends AbstractFileSystemCommand
mFileSystem, mFsContext| Constructor and Description |
|---|
CopyFromLocalCommand(FileSystemContext fsContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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) |
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
processHeader, runPlainPath, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubCommands, hasSubCommand, parseAndValidateArgspublic CopyFromLocalCommand(FileSystemContext fsContext)
fsContext - the filesystem of Alluxiopublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getCommandName()
public org.apache.commons.cli.Options getOptions()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic 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()
Copyright © 2022. All Rights Reserved.