|
||||||||||
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 BaseConfiguration
init
in class BaseConfigurationImpl
public boolean getMatchAnyCondition()
EventHandlerActionConfig
getMatchAnyCondition
in interface EventHandlerActionConfig
public void setMatchAnyCondition(boolean matchAny)
EventHandlerActionConfig
setMatchAnyCondition
in interface EventHandlerActionConfig
matchAny
- The new matchAnyCondition valuepublic boolean getEnabled()
BaseConfiguration
getEnabled
in interface BaseConfiguration
getEnabled
in interface EventHandlerActionConfig
getEnabled
in class BaseConfigurationImpl
public void setEnabled(boolean enabled)
BaseConfiguration
setEnabled
in interface BaseConfiguration
setEnabled
in interface EventHandlerActionConfig
setEnabled
in class BaseConfigurationImpl
enabled
- The new enabled valuepublic boolean getConsumeEvent()
EventHandlerActionConfig
getConsumeEvent
in interface EventHandlerActionConfig
public void setConsumeEvent(boolean consume)
EventHandlerActionConfig
setConsumeEvent
in interface EventHandlerActionConfig
consume
- The new consumeEvent valuepublic Vector getActions(int actionType)
EventHandlerActionConfig
getActions
in interface EventHandlerActionConfig
actionType
- The type of the action
public Vector getConditions()
EventHandlerActionConfig
getConditions
in interface EventHandlerActionConfig
public EventHandlerActionItemConfig addAction(int type, String command)
EventHandlerActionConfig
addAction
in interface EventHandlerActionConfig
type
- 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 EventHandlerActionConfig
script
- The feature to be added to the Condition attribute
public void removeAction(int type, int index)
EventHandlerActionConfig
removeAction
in interface EventHandlerActionConfig
type
- The type of actionindex
- The position of the object, describing the actionpublic void removeCondition(int index)
EventHandlerActionConfig
removeCondition
in interface EventHandlerActionConfig
index
- The position of the object, describing the conditionpublic void moveAction(int type, int fromIndex, int toIndex)
EventHandlerActionConfig
moveAction
in interface EventHandlerActionConfig
type
- 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 BaseConfiguration
getShortName
in class BaseConfigurationImpl
public void setName(String name) throws Exception
BaseConfiguration
setName
in interface BaseConfiguration
setName
in class BaseConfigurationImpl
name
- 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 |