Class ListLogFilesCommand
java.lang.Object
net.datenwerke.rs.adminutils.service.logs.terminal.commands.ListLogFilesCommand
- All Implemented Interfaces:
Hook,TerminalCommandHook
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListLogFilesCommand(<any> logFilesServiceProvider, <any> terminalServiceProvider, <any> securityServiceProvider, <any> datasinkServiceProvider, <any> zipUtilsServiceProvider) -
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
-
ListLogFilesCommand
public ListLogFilesCommand(<any> logFilesServiceProvider, <any> terminalServiceProvider, <any> securityServiceProvider, <any> datasinkServiceProvider, <any> zipUtilsServiceProvider)
-
-
Method Details
-
execute
@CliHelpMessage(messageClass=AdminUtilsMessages.class,name="listlogfiles",description="commandListlogfiles_description",args={@Argument(flag="s",hasValue=true,valueName="sort",description="commandListlogfiles_sub_flagS",mandatory=false),@Argument(flag="f",hasValue=true,valueName="filter",description="commandListlogfiles_sub_flagF",mandatory=false),@Argument(flag="e",hasValue=false,valueName="email",description="commandListlogfiles_sub_flagE",mandatory=false),@Argument(flag="d",hasValue=true,valueName="datasink",description="commandListlogfiles_sub_flagD",mandatory=false)}) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-