|
||||||||||
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.AttributeMapConfigImpl
com.ibm.di.config.base.HooksConfigImpl
public class HooksConfigImpl
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 | |
---|---|
HooksConfigImpl()
|
|
HooksConfigImpl(Object config)
|
Method Summary | |
---|---|
boolean |
couldInherit(String name)
|
boolean |
flatten(List excludedNS)
flatten - combines all values from this object and its inherited objects into one single config object. |
HookConfig |
getHook(Object name)
|
void |
removeHook(Object name)
|
List |
search(String text,
int options,
int sizelimit)
Searches a configuration object and optionally its children for a specific key or value. |
void |
setHook(HookConfig hook)
|
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
Methods inherited from class com.ibm.di.config.base.AttributeMapConfigImpl |
---|
configurationChanged, getAttributeMapItem, getAttributeNames, getClone, hasAttributeMapItem, init, newAttributeMapItem, removeAttributeMapItem, renameAttributeMapItem, setAttributeMapItem, setupInheritanceChain |
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.AttributeMapConfig |
---|
getAttributeMapItem, getAttributeNames, hasAttributeMapItem, newAttributeMapItem, removeAttributeMapItem, renameAttributeMapItem, setAttributeMapItem |
Constructor Detail |
---|
public HooksConfigImpl()
public HooksConfigImpl(Object config)
Method Detail |
---|
public void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class AttributeMapConfigImpl
inheritFrom
- The new inheritsFrom valuepublic HookConfig getHook(Object name)
getHook
in interface HooksConfig
public void setHook(HookConfig hook)
setHook
in interface HooksConfig
public void removeHook(Object name)
removeHook
in interface HooksConfig
public boolean couldInherit(String name)
couldInherit
in interface HooksConfig
public boolean flatten(List excludedNS) throws Exception
flatten
in interface BaseConfiguration
flatten
in class AttributeMapConfigImpl
excludedNS
- List of namespaces to exclude from flattening
Exception
public List search(String text, int options, int sizelimit)
BaseConfiguration
search
in interface BaseConfiguration
search
in class BaseConfigurationImpl
text
- The search textoptions
- Search options (oneLevel=1, exactCase=2, regExp=4, paramName=8)sizelimit
- Max number of hits returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |