Package org.gluu.oxtrust.action
Class ViewLogFileAction
- java.lang.Object
-
- org.gluu.oxtrust.action.ViewLogFileAction
-
- All Implemented Interfaces:
java.io.Serializable
@ConversationScoped @Named @Secure("#{permissionService.hasPermission(\'log\', \'access\')}") public class ViewLogFileAction extends java.lang.Object implements java.io.Serializable
Action class for configuring log viewer- Author:
- Yuriy Movchan Date: 07/08/2013
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewLogFileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActiveLogFileIndex()
java.lang.String
getCurrentLogFileName()
int
getDisplayLastLinesCount()
java.util.Map<java.lang.Integer,java.lang.String>
getLogFiles()
LogViewerConfig
getLogViewerConfiguration()
java.lang.String
getTailOfLogFile()
java.lang.String
init()
boolean
isInitialized()
void
setActiveLogFileIndex(int activeLogFileIndex)
void
setCurrentLogFileName(java.lang.String currentLogFileName)
void
setDisplayLastLinesCount(int displayLinesCount)
-
-
-
Method Detail
-
init
public java.lang.String init()
-
isInitialized
public boolean isInitialized()
-
getLogViewerConfiguration
public LogViewerConfig getLogViewerConfiguration()
-
getLogFiles
public java.util.Map<java.lang.Integer,java.lang.String> getLogFiles()
-
getTailOfLogFile
public java.lang.String getTailOfLogFile()
-
getActiveLogFileIndex
public int getActiveLogFileIndex()
-
setActiveLogFileIndex
public void setActiveLogFileIndex(int activeLogFileIndex)
-
getDisplayLastLinesCount
public int getDisplayLastLinesCount()
-
setDisplayLastLinesCount
public void setDisplayLastLinesCount(int displayLinesCount)
-
getCurrentLogFileName
public java.lang.String getCurrentLogFileName()
-
setCurrentLogFileName
public void setCurrentLogFileName(java.lang.String currentLogFileName)
-
-