public class ViewLogFileCommand extends java.lang.Object implements TerminalCommandHook
Constructor and Description |
---|
ViewLogFileCommand(<any> logFilesServiceProvider) |
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 boolean consumes(CommandParser parser, TerminalSession session)
consumes
in interface TerminalCommandHook
@CliHelpMessage(messageClass=AdminUtilsMessages.class, name="viewlogfile", description="commandViewLogFile_description", nonOptArgs=@NonOptArgument(name="logFilename",description="commandViewLogFile_logFile",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