@Scope(value=CONVERSATION) @Name(value="logsViewerActions") @Install(precedence=10) public class LogsViewerActions extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LogsViewerActions.LogLine |
Modifier and Type | Field and Description |
---|---|
static int |
LOG_MAX_LINES_COUNT |
static String |
LOG_MAX_LINES_COUNT_KEY |
Constructor and Description |
---|
LogsViewerActions() |
Modifier and Type | Method and Description |
---|---|
void |
downloadLogFile() |
void |
flushCache() |
String |
getFileName(String logFile) |
List<LogsViewerActions.LogLine> |
getInitialLogLines() |
List<String> |
getLogFiles() |
long |
getLogMaxLinesCount() |
List<LogsViewerActions.LogLine> |
getNewLogLines() |
String |
getSelectedLogFile() |
void |
setSelectedLogFile(String selectedLogFile) |
public static final String LOG_MAX_LINES_COUNT_KEY
public static final int LOG_MAX_LINES_COUNT
public long getLogMaxLinesCount()
public String getSelectedLogFile()
public void setSelectedLogFile(String selectedLogFile)
public List<LogsViewerActions.LogLine> getInitialLogLines() throws IOException
IOException
@Factory(value="newLogLines", scope=EVENT) public List<LogsViewerActions.LogLine> getNewLogLines() throws IOException
IOException
public void flushCache()
Copyright © 2015 Nuxeo SA. All rights reserved.