Class ConfigureLoggingAction

    • Constructor Detail

      • ConfigureLoggingAction

        public ConfigureLoggingAction()
    • Method Detail

      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getNodeId

        public String getNodeId()
      • setClusterManager

        public void setClusterManager​(ClusterManager clusterManager)
      • setNodeId

        public void setNodeId​(String nodeId)
      • setToDeleteName

        public void setToDeleteName​(String toDeleteName)
      • setProfilingOn

        public void setProfilingOn​(boolean buttonValue)
      • getLevelTypes

        public List<String> getLevelTypes()
      • add

        public String add()
                   throws Exception
        Add a new entry to the Log4j Configuration.
        Returns:
        action result
        Throws:
        Exception
      • getEntries

        public List getEntries()
      • setClassNames

        public void setClassNames​(String[] classNames)
      • setLevelNames

        public void setLevelNames​(String[] levelNames)
      • setExtraClassName

        public void setExtraClassName​(String extraClassName)
      • setExtraLevelName

        public void setExtraLevelName​(String extraLevelName)
      • turnOnHibernateLogging

        public String turnOnHibernateLogging()
                                      throws Exception
        Turns on Hibernate Logging (both SQL queries and the parameters will now be output)
        Returns:
        action result
        Throws:
        Exception
      • turnOffHibernateLogging

        public String turnOffHibernateLogging()
                                       throws Exception
        Turns off Hibernate Logging (SQL queries will not be output)
        Returns:
        action result
        Throws:
        Exception
      • isHibernateLoggingEnabled

        public boolean isHibernateLoggingEnabled()
      • setProfileName

        public void setProfileName​(String profileName)
      • changeProfile

        public String changeProfile()
      • isProfilingEnabled

        public boolean isProfilingEnabled()
      • isDiagnosticEnabled

        public boolean isDiagnosticEnabled()