Class ConfigureMonitoringAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.impl.admin.actions.ConfigureMonitoringAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class ConfigureMonitoringAction extends ConfluenceActionSupport
This action allows administrators to configure monitoring settings (App Monitoring and JMX) across the cluster
Since:
7.17
See Also:
  • Constructor Details

    • ConfigureMonitoringAction

      public ConfigureMonitoringAction()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • isAppMonitoringEnabled

      public boolean isAppMonitoringEnabled()
    • isIpdMonitoringEnabled

      public boolean isIpdMonitoringEnabled()
    • isJmxEnabled

      public boolean isJmxEnabled()
    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class ConfluenceActionSupport
    • getNodesConfigs

      public List<ConfigureMonitoringAction.NodeConfigDTO> getNodesConfigs()
    • isSystemPropertySetOnNodes

      public boolean isSystemPropertySetOnNodes()
    • setIsChecked

      public void setIsChecked(String isChecked)
    • setConfluenceJmxConfigService

      public void setConfluenceJmxConfigService(ConfluenceJmxConfigService confluenceJmxConfigService)
    • toggleAppMonitoringEnabled

      public String toggleAppMonitoringEnabled()
    • toggleIpdMonitoringEnabled

      public String toggleIpdMonitoringEnabled()
    • toggleJmxEnabled

      public String toggleJmxEnabled()