Class RpullCopySubcommand
java.lang.Object
net.datenwerke.rs.base.ext.service.terminal.commands.RpullCopySubcommand
- All Implemented Interfaces:
Hook,RpullSubCommandHook,SubCommand,TerminalCommandHook
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRpullCopySubcommand(<any> remoteEntityImporterServiceProvider, <any> terminalServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session) booleanconsumes(CommandParser parser, TerminalSession session) execute(CommandParser parser, TerminalSession session)
-
Field Details
-
BASE_COMMAND
- See Also:
-
-
Constructor Details
-
RpullCopySubcommand
public RpullCopySubcommand(<any> remoteEntityImporterServiceProvider, <any> terminalServiceProvider)
-
-
Method Details
-
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-
getBaseCommand
- Specified by:
getBaseCommandin interfaceSubCommand
-
execute
@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 - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-