com.ibm.etools.logging.util
Interface IPluginHelper
- All Known Implementing Classes:
- LoggingUtilPlugin, PluginHelperImpl
- public interface IPluginHelper
Method Summary |
java.util.Hashtable |
getMsgLoggerConfig(Plugin plugin)
Retrieves a hashtable of a logger's preferences initially from the com.ibm.etools.logging.util.loggingDefaults
extension point if specified in the com.ibm.etools.logging.util plugin.xml file. |
void |
setMsgLoggerConfig(java.util.Hashtable msgLoggerConfig)
Sets the logger's preferences based on values in the parameter hashtable. |
getMsgLoggerConfig
public java.util.Hashtable getMsgLoggerConfig(Plugin plugin)
- Retrieves a hashtable of a logger's preferences initially from the com.ibm.etools.logging.util.loggingDefaults
extension point if specified in the com.ibm.etools.logging.util plugin.xml file. If specified, the
com.ibm.etools.logging.util.loggingOptions extension point preferences in the parameter plugin's
plugin.xml file are returned.
The logger's preferences are stored in the return hashtable using the static instance variables
in LoggerStateHashKeys as keys.
- Parameters:
plugin
- the Plugin polled for their logger's preferences in the plugin.xml file
- Returns:
- hashtable of a logger's preferences
setMsgLoggerConfig
public void setMsgLoggerConfig(java.util.Hashtable msgLoggerConfig)
- Sets the logger's preferences based on values in the parameter hashtable.
The logger's preferences are stored in the parameter hashtable using the static
instance variables in LoggerStateHashKeys as keys.
- Parameters:
msgLoggerConfig
- hashtable of the logger's preferences