Package com.ibm.di.config.interfaces
Interface HookConfig
-
- All Superinterfaces:
BaseConfiguration
,java.io.Serializable
- All Known Implementing Classes:
HookConfigImpl
public interface HookConfig extends BaseConfiguration
The configuration for a single Hook e.g. in a Connector.
-
-
Field Summary
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
couldInherit()
Could this hook inherit data from some other place, if it did not have local data?boolean
getEnabled()
Gets the enabled attribute of the BaseConfiguration object.java.lang.Object
getHookName()
void
setEnabled(boolean enabled)
Sets the enabled attribute of the BaseConfiguration object.void
setHookName(java.lang.Object name)
Sets the name of the hook.-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, 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, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Method Detail
-
getEnabled
boolean getEnabled()
Gets the enabled attribute of the BaseConfiguration object.- Specified by:
getEnabled
in interfaceBaseConfiguration
- Returns:
- The nullBehaviorValue value.
-
setEnabled
void setEnabled(boolean enabled)
Sets the enabled attribute of the BaseConfiguration object.- Specified by:
setEnabled
in interfaceBaseConfiguration
- Parameters:
enabled
-true
for enabling;false
otherwise.
-
getHookName
java.lang.Object getHookName()
- Returns:
- name of the hook
-
setHookName
void setHookName(java.lang.Object name)
Sets the name of the hook.- Parameters:
name
-
-
couldInherit
boolean couldInherit()
Could this hook inherit data from some other place, if it did not have local data?- Returns:
- true if there is data that could be inherited
- Since:
- 6.2
-
-