com.ibm.di.config.base
Class LogConfigItemImpl

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by com.ibm.di.config.base.LogConfigItemImpl
All Implemented Interfaces:
BaseConfiguration, LogConfigItem, MetamergeConfigChangeListener, java.io.Serializable

public class LogConfigItemImpl
extends BaseConfigurationImpl
implements LogConfigItem

The configuration of a single Logger for e.g. an AssemblyLine

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
 
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
 
Constructor Summary
LogConfigItemImpl()
           
LogConfigItemImpl(java.lang.Object data)
           
 
Method Summary
 java.lang.Object getClone()
          Return self clone
 java.util.List<java.lang.String> getKeys(int level)
          Returns a list of keys in this object.
 java.lang.String getLogLevel()
          Returns the log level for the LogConfig
 javax.naming.Name getName()
          The object's full name
 void setLogLevel(java.lang.String level)
          Sets the log level for the LogConfig
 void setName(javax.naming.Name name)
          Sets the name of this object.
 
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getLogEnabled, getLongName, getMetamergeConfig, getModified, getModTS, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getLogEnabled, getMetamergeConfig, getModified, getModTS, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Constructor Detail

LogConfigItemImpl

public LogConfigItemImpl()

LogConfigItemImpl

public LogConfigItemImpl(java.lang.Object data)
Method Detail

getLogLevel

public java.lang.String getLogLevel()
Returns the log level for the LogConfig

Specified by:
getLogLevel in interface LogConfigItem

setLogLevel

public void setLogLevel(java.lang.String level)
Sets the log level for the LogConfig

Specified by:
setLogLevel in interface LogConfigItem

getClone

public java.lang.Object getClone()
                          throws java.lang.Exception
Return self clone

Specified by:
getClone in interface BaseConfiguration
Overrides:
getClone in class BaseConfigurationImpl
Returns:
a cloned version of this object.
Throws:
java.lang.Exception

setName

public void setName(javax.naming.Name name)
Description copied from class: BaseConfigurationImpl
Sets the name of this object.

Specified by:
setName in interface BaseConfiguration
Overrides:
setName in class BaseConfigurationImpl
Parameters:
name - The new name value

getName

public javax.naming.Name getName()
Description copied from interface: BaseConfiguration
The object's full name

Specified by:
getName in interface BaseConfiguration
Overrides:
getName in class BaseConfigurationImpl
Returns:
the name of this object.

getKeys

public java.util.List<java.lang.String> getKeys(int level)
Description copied from class: BaseConfigurationImpl
Returns a list of keys in this object.

Specified by:
getKeys in interface BaseConfiguration
Overrides:
getKeys in class BaseConfigurationImpl
Parameters:
level - can have these values:
  • ONE_LEVEL - only simple key/value items are returned.
  • SUBTREE - all keys are returned regardless of whether they are complex (TreeMap) or simple (String, Boolean, Integer, Vector ).
  • RECURSIVE - inherited keys are returned as well.
  • Returns:
    The list of keys.