|
||||||||||
| 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 HookConfigpublic void setHookName(Object name)
setHookName in interface HookConfigpublic boolean getEnabled()
BaseConfiguration
getEnabled in interface BaseConfigurationgetEnabled in interface HookConfiggetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean enabled)
BaseConfiguration
setEnabled in interface BaseConfigurationsetEnabled in interface HookConfigsetEnabled in class BaseConfigurationImplpublic String getScript()
BaseConfiguration
getScript in interface BaseConfigurationgetScript in class BaseConfigurationImplpublic void setScript(String script)
BaseConfiguration
setScript in interface BaseConfigurationsetScript in class BaseConfigurationImplscript - The new script valuepublic boolean couldInherit()
couldInherit in interface HookConfig
public boolean flatten(List excludedNS)
throws Exception
BaseConfigurationImpl
flatten in interface BaseConfigurationflatten in class BaseConfigurationImplexcludedNS - List of namespaces to exclude from flattening
Exception
public void notifyChange(Object source,
Object key,
int operation,
Object userObject)
BaseConfiguration
notifyChange in interface BaseConfigurationnotifyChange in class BaseConfigurationImplsource - 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 | |||||||||