|
||||||||||
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 BaseConfiguration
init
in class BaseConfigurationImpl
Exception
- if the initialization failspublic void setupInheritanceChain() throws Exception
BaseConfigurationImpl
setupInheritanceChain
in interface BaseConfiguration
setupInheritanceChain
in class BaseConfigurationImpl
Exception
- if the operation does not succeedpublic void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class BaseConfigurationImpl
inheritFrom
- The new inheritsFrom valuepublic boolean getEnabled()
BaseConfiguration
getEnabled
in interface BaseConfiguration
getEnabled
in class BaseConfigurationImpl
public void setEnabled(boolean autoStart)
BaseConfiguration
setEnabled
in interface BaseConfiguration
setEnabled
in class BaseConfigurationImpl
public boolean getDebug(boolean defval)
BaseConfiguration
getDebug
in interface BaseConfiguration
getDebug
in class BaseConfigurationImpl
defval
- The value to be returned, if the debug parameter cannot be found
public void setDebug(boolean value)
BaseConfiguration
setDebug
in interface BaseConfiguration
setDebug
in class BaseConfigurationImpl
value
- The new debug valuepublic String getProlog()
getProlog
in interface EventHandlerConfig
public void setProlog(String prolog)
setProlog
in interface EventHandlerConfig
public String getEpilog()
getEpilog
in interface EventHandlerConfig
public void setEpilog(String epilog)
setEpilog
in interface EventHandlerConfig
public String getShutdownScript()
getShutdownScript
in interface EventHandlerConfig
public void setShutdownScript(String script)
setShutdownScript
in interface EventHandlerConfig
public RawConnectorConfig getConnectionConfig()
getConnectionConfig
in interface EventHandlerConfig
public EventHandlerActionConfig getAction(int index)
getAction
in interface EventHandlerConfig
public 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 EventHandlerConfig
public void removeAction(int index)
removeAction
in interface EventHandlerConfig
public EventHandlerActionConfig newAction(Object name)
newAction
in interface EventHandlerConfig
public int getActionCount()
getActionCount
in interface EventHandlerConfig
public String getJavaClass()
getJavaClass
in interface EventHandlerConfig
public void setJavaClass(String className)
setJavaClass
in interface EventHandlerConfig
public SandboxConfig getSandboxConfig()
getSandboxConfig
in interface EventHandlerConfig
public LogConfig getLogConfig()
getLogConfig
in interface EventHandlerConfig
public AttributeMapConfig getAttributeMap(boolean input)
getAttributeMap
in interface EventHandlerConfig
input
- True, if Input AttributeMap should be returned.
False, if Output AttributeMap should be returned
public Object getClone() throws Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |