public class ListLogFilesCommand extends java.lang.Object implements TerminalCommandHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_COMMAND |
Constructor and Description |
---|
ListLogFilesCommand(<any> logFilesServiceProvider,
<any> terminalServiceProvider,
<any> securityServiceProvider,
<any> datasinkServiceProvider,
<any> zipUtilsServiceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addAutoCompletEntries(AutocompleteHelper autocompleteHelper,
TerminalSession session) |
boolean |
consumes(CommandParser parser,
TerminalSession session) |
CommandResult |
execute(CommandParser parser,
TerminalSession session) |
public static final java.lang.String BASE_COMMAND
public ListLogFilesCommand(<any> logFilesServiceProvider, <any> terminalServiceProvider, <any> securityServiceProvider, <any> datasinkServiceProvider, <any> zipUtilsServiceProvider)
@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
execute
in interface TerminalCommandHook
TerminalException
public void addAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session)
addAutoCompletEntries
in interface TerminalCommandHook
public boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook