|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventHandlerActionConfig
Specifies the basic methods for configuring the action of an Event Handler
Field Summary | |
---|---|
static int |
ACTIONS_ERROR
Constant, describing a type of action |
static int |
ACTIONS_FALSE
Constant, describing a type of action |
static int |
ACTIONS_TRUE
Constant, describing a type of action |
static int |
CONDITIONS
Constant, describing a type of action |
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 |
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 EventHandlerActionConfig object |
boolean |
getMatchAnyCondition()
Gets the matchAnyCondition attribute of the EventHandlerActionConfig object |
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)
Sets the enabled attribute of the EventHandlerActionConfig object |
void |
setMatchAnyCondition(boolean matchAny)
Sets the matchAnyCondition attribute of the EventHandlerActionConfig object |
Field Detail |
---|
static final int ACTIONS_TRUE
static final int ACTIONS_FALSE
static final int ACTIONS_ERROR
static final int CONDITIONS
Method Detail |
---|
boolean getMatchAnyCondition()
void setMatchAnyCondition(boolean matchAny)
matchAny
- The new matchAnyCondition valueboolean getEnabled()
getEnabled
in interface BaseConfiguration
void setEnabled(boolean enabled)
setEnabled
in interface BaseConfiguration
enabled
- The new enabled valueboolean getConsumeEvent()
void setConsumeEvent(boolean consume)
consume
- The new consumeEvent valueVector getActions(int actionType)
actionType
- The type of the action
Vector getConditions()
EventHandlerActionItemConfig addAction(int type, String command)
type
- The feature to be added to the Action attributecommand
- The feature to be added to the Action attribute
void removeAction(int type, int index)
type
- The type of actionindex
- The position of the object, describing the actionvoid moveAction(int type, int fromIndex, int toIndex)
type
- The type of actionfromIndex
- The position from which to take the action objecttoIndex
- The new position of the action objectEventHandlerConditionConfig addCondition(boolean script)
script
- The feature to be added to the Condition attribute
void removeCondition(int index)
index
- The position of the object, describing the condition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |