|
||||||||||
| 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.EventHandlerActionConfigImpl
public class EventHandlerActionConfigImpl
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.EventHandlerActionConfig |
|---|
ACTIONS_ERROR, ACTIONS_FALSE, ACTIONS_TRUE, CONDITIONS |
| 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 | |
|---|---|
EventHandlerActionConfigImpl()
|
|
EventHandlerActionConfigImpl(Object config)
|
|
EventHandlerActionConfigImpl(Object config,
BaseConfiguration parent)
|
|
| Method Summary | |
|---|---|
EventHandlerActionItemConfig |
addAction(int type,
String command)
Adds a feature to the Action attribute of the EventHandlerActionConfig object |
EventHandlerConditionConfig |
addCondition(boolean script)
Adds a feature to the Condition attribute of the EventHandlerActionConfig object |
Vector |
getActions(int actionType)
Gets the actions attribute of the EventHandlerActionConfig object |
Vector |
getConditions()
Gets the conditions attribute of the EventHandlerActionConfig object |
boolean |
getConsumeEvent()
Gets the consumeEvent attribute of the EventHandlerActionConfig object |
boolean |
getEnabled()
Gets the enabled attribute of the BaseConfiguration object |
boolean |
getMatchAnyCondition()
Gets the matchAnyCondition attribute of the EventHandlerActionConfig object |
String |
getShortName()
Gets the shortName attribute of the BaseConfiguration object. |
void |
init()
init - method called after internal data structure is set |
void |
moveAction(int type,
int fromIndex,
int toIndex)
Move an action |
void |
removeAction(int type,
int index)
Remove an action |
void |
removeCondition(int index)
Remove a Condition |
void |
setConsumeEvent(boolean consume)
Sets the consumeEvent attribute of the EventHandlerActionConfig object |
void |
setEnabled(boolean enabled)
Gets the enabled attribute of the BaseConfiguration object |
void |
setMatchAnyCondition(boolean matchAny)
Sets the matchAnyCondition attribute of the EventHandlerActionConfig object |
void |
setName(String name)
Sets the name 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 EventHandlerActionConfigImpl()
public EventHandlerActionConfigImpl(Object config)
public EventHandlerActionConfigImpl(Object config,
BaseConfiguration parent)
| Method Detail |
|---|
public void init()
BaseConfigurationImpl
init in interface BaseConfigurationinit in class BaseConfigurationImplpublic boolean getMatchAnyCondition()
EventHandlerActionConfig
getMatchAnyCondition in interface EventHandlerActionConfigpublic void setMatchAnyCondition(boolean matchAny)
EventHandlerActionConfig
setMatchAnyCondition in interface EventHandlerActionConfigmatchAny - The new matchAnyCondition valuepublic boolean getEnabled()
BaseConfiguration
getEnabled in interface BaseConfigurationgetEnabled in interface EventHandlerActionConfiggetEnabled in class BaseConfigurationImplpublic void setEnabled(boolean enabled)
BaseConfiguration
setEnabled in interface BaseConfigurationsetEnabled in interface EventHandlerActionConfigsetEnabled in class BaseConfigurationImplenabled - The new enabled valuepublic boolean getConsumeEvent()
EventHandlerActionConfig
getConsumeEvent in interface EventHandlerActionConfigpublic void setConsumeEvent(boolean consume)
EventHandlerActionConfig
setConsumeEvent in interface EventHandlerActionConfigconsume - The new consumeEvent valuepublic Vector getActions(int actionType)
EventHandlerActionConfig
getActions in interface EventHandlerActionConfigactionType - The type of the action
public Vector getConditions()
EventHandlerActionConfig
getConditions in interface EventHandlerActionConfig
public EventHandlerActionItemConfig addAction(int type,
String command)
EventHandlerActionConfig
addAction in interface EventHandlerActionConfigtype - The feature to be added to the Action attributecommand - The feature to be added to the Action attribute
public EventHandlerConditionConfig addCondition(boolean script)
EventHandlerActionConfig
addCondition in interface EventHandlerActionConfigscript - The feature to be added to the Condition attribute
public void removeAction(int type,
int index)
EventHandlerActionConfig
removeAction in interface EventHandlerActionConfigtype - The type of actionindex - The position of the object, describing the actionpublic void removeCondition(int index)
EventHandlerActionConfig
removeCondition in interface EventHandlerActionConfigindex - The position of the object, describing the condition
public void moveAction(int type,
int fromIndex,
int toIndex)
EventHandlerActionConfig
moveAction in interface EventHandlerActionConfigtype - The type of actionfromIndex - The position from which to take the action objecttoIndex - The new position of the action objectpublic String getShortName()
BaseConfiguration
getShortName in interface BaseConfigurationgetShortName in class BaseConfigurationImpl
public void setName(String name)
throws Exception
BaseConfiguration
setName in interface BaseConfigurationsetName in class BaseConfigurationImplname - The new name value
Exception - if the operation does not succeed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||