|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.HookConfigImpl
public class HookConfigImpl
Field Summary |
---|
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
---|
NAME |
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
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, SUBTREE |
Constructor Summary | |
---|---|
HookConfigImpl()
|
|
HookConfigImpl(Object config)
|
|
HookConfigImpl(Object name,
String script)
|
Method Summary | |
---|---|
boolean |
couldInherit()
|
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
boolean |
getEnabled()
Gets the enabled attribute of the BaseConfiguration object |
Object |
getHookName()
|
String |
getScript()
Gets the script attribute of the BaseConfiguration object |
void |
notifyChange(Object source,
Object key,
int operation,
Object userObject)
Signal a change event to listeners. |
void |
setEnabled(boolean enabled)
Gets the enabled attribute of the BaseConfiguration object |
void |
setHookName(Object name)
|
void |
setScript(String script)
Sets the script attribute of the BaseConfiguration object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HookConfigImpl()
public HookConfigImpl(Object config)
public HookConfigImpl(Object name, String script)
Method Detail |
---|
public Object getHookName()
getHookName
in interface HookConfig
public void setHookName(Object name)
setHookName
in interface HookConfig
public boolean getEnabled()
BaseConfiguration
getEnabled
in interface BaseConfiguration
getEnabled
in interface HookConfig
getEnabled
in class BaseConfigurationImpl
public void setEnabled(boolean enabled)
BaseConfiguration
setEnabled
in interface BaseConfiguration
setEnabled
in interface HookConfig
setEnabled
in class BaseConfigurationImpl
public String getScript()
BaseConfiguration
getScript
in interface BaseConfiguration
getScript
in class BaseConfigurationImpl
public void setScript(String script)
BaseConfiguration
setScript
in interface BaseConfiguration
setScript
in class BaseConfigurationImpl
script
- The new script valuepublic boolean couldInherit()
couldInherit
in interface HookConfig
public boolean flatten(List excludedNS) throws Exception
BaseConfigurationImpl
flatten
in interface BaseConfiguration
flatten
in class BaseConfigurationImpl
excludedNS
- List of namespaces to exclude from flattening
Exception
public void notifyChange(Object source, Object key, int operation, Object userObject)
BaseConfiguration
notifyChange
in interface BaseConfiguration
notifyChange
in class BaseConfigurationImpl
source
- The caller initiating the change eventkey
- The key that changedoperation
- The operation performed on keyuserObject
- Arbitrary object provided by caller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |