public interface FuseCommand extends Command
Modifier and Type | Method and Description |
---|---|
default URIStatus |
run(AlluxioURI path,
String[] argv)
Runs the command.
|
default void |
validateArgs(String[] argv)
Checks if the arguments are valid or throw InvalidArgumentException.
|
close, getCommandName, getDescription, getOptions, getSubCommands, getUsage, hasSubCommand, parseAndValidateArgs, run, validateArgs
default void validateArgs(String[] argv) throws InvalidArgumentException
argv
- args need to be validatedInvalidArgumentException
- when arguments are not validdefault URIStatus run(AlluxioURI path, String[] argv) throws InvalidArgumentException
path
- the path uri from fuse commandargv
- args from fuse commandInvalidArgumentException
Copyright © 2023. All Rights Reserved.