|
||||||||||
| 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.EventHandlerConfigImpl
public class EventHandlerConfigImpl
| 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 | |
|---|---|
EventHandlerConfigImpl()
|
|
EventHandlerConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
EventHandlerActionConfig |
getAction(int index)
|
EventHandlerActionConfig |
getAction(Object name)
|
int |
getActionCount()
|
AttributeMapConfig |
getAttributeMap(boolean input)
Gets the attributeMap attribute of the ConnectorConfig object |
Object |
getClone()
Returns a self clone |
RawConnectorConfig |
getConnectionConfig()
|
boolean |
getDebug(boolean defval)
Returns the debug flag for the object. |
boolean |
getEnabled()
Gets the enabled attribute of the BaseConfiguration object |
String |
getEpilog()
|
String |
getJavaClass()
|
LogConfig |
getLogConfig()
Returns the LogConfig object |
String |
getProlog()
|
SandboxConfig |
getSandboxConfig()
Returns the Sandbox object |
String |
getShutdownScript()
|
void |
init()
init - method called after internal data structure is set |
void |
moveAction(int fromIndex,
int toIndex)
|
EventHandlerActionConfig |
newAction(Object name)
|
void |
removeAction(int index)
|
int |
setAction(int index,
EventHandlerActionConfig action)
|
void |
setDebug(boolean value)
Common method - Sets the debug flag for the object |
void |
setEnabled(boolean autoStart)
Gets the enabled attribute of the BaseConfiguration object |
void |
setEpilog(String epilog)
|
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to implicitly set the object from which the raw connector config inherits its values from. |
void |
setJavaClass(String className)
|
void |
setProlog(String prolog)
|
void |
setShutdownScript(String script)
|
void |
setupInheritanceChain()
Established the inheritance chain for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventHandlerConfigImpl()
public EventHandlerConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails
public void setupInheritanceChain()
throws Exception
BaseConfigurationImpl
setupInheritanceChain in interface BaseConfigurationsetupInheritanceChain in class BaseConfigurationImplException - if the operation does not succeedpublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom in interface BaseConfigurationsetInheritsFrom in class BaseConfigurationImplinheritFrom - The new inheritsFrom valuepublic boolean getEnabled()
BaseConfiguration
getEnabled in interface BaseConfigurationgetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean autoStart)
BaseConfiguration
setEnabled in interface BaseConfigurationsetEnabled in class BaseConfigurationImplpublic boolean getDebug(boolean defval)
BaseConfiguration
getDebug in interface BaseConfigurationgetDebug in class BaseConfigurationImpldefval - The value to be returned, if the debug parameter cannot be found
public void setDebug(boolean value)
BaseConfiguration
setDebug in interface BaseConfigurationsetDebug in class BaseConfigurationImplvalue - The new debug valuepublic String getProlog()
getProlog in interface EventHandlerConfigpublic void setProlog(String prolog)
setProlog in interface EventHandlerConfigpublic String getEpilog()
getEpilog in interface EventHandlerConfigpublic void setEpilog(String epilog)
setEpilog in interface EventHandlerConfigpublic String getShutdownScript()
getShutdownScript in interface EventHandlerConfigpublic void setShutdownScript(String script)
setShutdownScript in interface EventHandlerConfigpublic RawConnectorConfig getConnectionConfig()
getConnectionConfig in interface EventHandlerConfigpublic EventHandlerActionConfig getAction(int index)
getAction in interface EventHandlerConfigpublic EventHandlerActionConfig getAction(Object name)
getAction in interface EventHandlerConfig
public int setAction(int index,
EventHandlerActionConfig action)
setAction in interface EventHandlerConfig
public void moveAction(int fromIndex,
int toIndex)
moveAction in interface EventHandlerConfigpublic void removeAction(int index)
removeAction in interface EventHandlerConfigpublic EventHandlerActionConfig newAction(Object name)
newAction in interface EventHandlerConfigpublic int getActionCount()
getActionCount in interface EventHandlerConfigpublic String getJavaClass()
getJavaClass in interface EventHandlerConfigpublic void setJavaClass(String className)
setJavaClass in interface EventHandlerConfigpublic SandboxConfig getSandboxConfig()
getSandboxConfig in interface EventHandlerConfigpublic LogConfig getLogConfig()
getLogConfig in interface EventHandlerConfigpublic AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap in interface EventHandlerConfiginput - True, if Input AttributeMap should be returned.
False, if Output AttributeMap should be returned
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||