Class 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 Detail

      • ViewLogFileAction

        public ViewLogFileAction()
    • 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)