public class

IPAAdminDiagnosticsPropertiesMgr

extends Object
java.lang.Object
   ↳ com.microstrategy.web.ipa.IPAAdminDiagnosticsPropertiesMgr

Class Overview

reimplement the functionalities in DiagnosticsBean and DiagnosticsBeanEventHandler reference to DiagnosticsBean and DiagnosticsBeanEventHandler

Summary

Public Methods
void addValidationFailure(String fieldName, String value)
EditableLogger getAdvancedLogger(String loggerName)
List<String> getAdvancedLoggerNames()
synchronized String getDefaultDiagnosticsFileLocation(boolean populate)
Get the path and file used as the default configuration file properties
synchronized String getDefaultDiagnosticsFileLocation()
Get the path and file used as the default configuration file properties
synchronized EditableLogger getDefaultLogger()
static IPAAdminDiagnosticsPropertiesMgr getInstance()
return a IPAAdminDiagnosticsPropertiesMgr instance
synchronized Map<String, String> getInvalidateProperties()
get invalidate properties
synchronized List<String> getProperties()
get properties
synchronized int getStatisticMode(String iDesc)
synchronized void setDefaultDiagnosticsFileLocation(String iLocation)
Get the path and file used as the default configuration file properties
Protected Methods
synchronized void applyProperties(String itemplateName, Map<String, String> iNameValuePairs, AppContext iAppContext)
update the properteis of the diagonistics page
synchronized void saveProperties(Map<String, String> iNameValuePairs, AppContext iAppContext, SmartProperties iProps)
save the properteis of the diagonistics page
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void addValidationFailure (String fieldName, String value)

public EditableLogger getAdvancedLogger (String loggerName)

Returns
  • an EditableLogger which is liked to a Logger specified Adds a Handler with the name: DiagnosticsBean.ADVANCED_LOGGER_HANDLER

public List<String> getAdvancedLoggerNames ()

Returns
  • a ArrayList with the names of the advanced loggers. An advanced logger is determined by having a Handler with name: DiagnosticsBean.ADVANCED_LOGGER_HANDLER

public synchronized String getDefaultDiagnosticsFileLocation (boolean populate)

Get the path and file used as the default configuration file properties

Parameters
populate if True and the value is not yet available, it will execute the logic for obtaining it. Otherwise, it will return the value available (null if not found or not initialized yet)
Returns
  • a String with the path and file used

public synchronized String getDefaultDiagnosticsFileLocation ()

Get the path and file used as the default configuration file properties

Returns
  • a String with the path and file used

public synchronized EditableLogger getDefaultLogger ()

Returns
  • an EditableLogger linked to the default logger The default logger is determined by having the name: DiagnosticsBean.DEFAULT_LOGGER_NAME

public static IPAAdminDiagnosticsPropertiesMgr getInstance ()

return a IPAAdminDiagnosticsPropertiesMgr instance

public synchronized Map<String, String> getInvalidateProperties ()

get invalidate properties

public synchronized List<String> getProperties ()

get properties

public synchronized int getStatisticMode (String iDesc)

public synchronized void setDefaultDiagnosticsFileLocation (String iLocation)

Get the path and file used as the default configuration file properties

Returns
  • a String with the path and file used

Protected Methods

protected synchronized void applyProperties (String itemplateName, Map<String, String> iNameValuePairs, AppContext iAppContext)

update the properteis of the diagonistics page

protected synchronized void saveProperties (Map<String, String> iNameValuePairs, AppContext iAppContext, SmartProperties iProps)

save the properteis of the diagonistics page