public class RpullCopySubcommand extends java.lang.Object implements RpullSubCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
RpullCopySubcommand(<any> remoteEntityImporterServiceProvider,
<any> terminalServiceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoCompletEntries(AutocompleteHelper autocompleteHelper,
TerminalSession session) |
boolean |
consumes(CommandParser parser,
TerminalSession session) |
CommandResult |
execute(CommandParser parser,
TerminalSession session) |
java.lang.String |
getBaseCommand() |
public static final java.lang.String BASE_COMMAND
public RpullCopySubcommand(<any> remoteEntityImporterServiceProvider, <any> terminalServiceProvider)
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
public java.lang.String getBaseCommand()
getBaseCommand
in interface SubCommand
@CliHelpMessage(messageClass=RsBaseExtMessages.class,name="copy",description="commandRpullCopy_desc",args={@Argument(flag="c",hasValue=false,valueName="check",description="commandRpullCopy_flagC",mandatory=false),@Argument(flag="v",hasValue=false,valueName="variants",description="commandRpullCopy_flagV",mandatory=false)},nonOptArgs={@NonOptArgument(name="remoteServer",description="commandRpullCopy_remoteServer",mandatory=true),@NonOptArgument(name="remoteEntityPath",description="commandRpullCopy_remoteEntityPath",mandatory=true),@NonOptArgument(name="localTarget",description="commandRpullCopy_localTarget",mandatory=true)}) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException
execute
in interface TerminalCommandHook
TerminalException
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook