com.jaxfront.core.rule
Interface IAction
- All Known Implementing Classes:
- AbstractAction, ActionImpl, JavaAction, ModelAction, UIAction
public interface IAction
TYPE_ABSTRACT
static final int TYPE_ABSTRACT
- See Also:
- Constant Field Values
TYPE_FORMULA
static final int TYPE_FORMULA
- See Also:
- Constant Field Values
TYPE_JAVA
static final int TYPE_JAVA
- See Also:
- Constant Field Values
TYPE_MODEL
static final int TYPE_MODEL
- See Also:
- Constant Field Values
TYPE_UI
static final int TYPE_UI
- See Also:
- Constant Field Values
getActionType
int getActionType()
- Returns:
- the action type 0 = Abstract Action, 1 = ModelAction, 2 = Formula Action ,3 = UI Action, 4 = Java Action ;
getExpression
FormulaExpression getExpression()
- Returns:
- formula expression if exist, null otherwise. Needed to evaluate referenced nodes
getInverseAction
AbstractAction getInverseAction()
- Returns the definde inverse action.
getSource
Type getSource()
perform
void perform(Type eventSource)
throws RuleInvocationException
- Performs any kind of action command.
- Throws:
RuleInvocationException
perform
void perform(Type eventSource,
boolean isTemporary)
throws RuleInvocationException
- Performs an action on all target types.
- Parameters:
isTemporary - saying if this action is not completed yet
- Throws:
RuleInvocationException
perform
void perform(Type eventSource,
boolean b,
java.util.Stack callStack)
throws RuleInvocationException
- Throws:
RuleInvocationException
performInverse
void performInverse(Type eventSource,
java.util.Stack callStack)
throws RuleInvocationException
- Throws:
RuleInvocationException
release
void release()
setSource
void setSource(Type sourceType)