Class UnzipCommand
java.lang.Object
net.datenwerke.rs.fileserver.service.fileserver.terminal.commands.UnzipCommand
- All Implemented Interfaces:
Hook,TerminalCommandHook
-
Constructor Summary
ConstructorsConstructorDescriptionUnzipCommand(FileServerService fileServerService, ZipUtilsService zipUtilsService, BasepathZipExtractConfigFactory extractConfigFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session) booleanconsumes(CommandParser parser, TerminalSession session) execute(CommandParser parser, TerminalSession session)
-
Constructor Details
-
UnzipCommand
public UnzipCommand(FileServerService fileServerService, ZipUtilsService zipUtilsService, BasepathZipExtractConfigFactory extractConfigFactory)
-
-
Method Details
-
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-
execute
@CliHelpMessage(messageClass=FileserverMessages.class, name="unzip", description="commandUnzip_description") public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-