Package jadex.bpmn.runtime.handler
Class GatewayXORActivityHandler
java.lang.Object
jadex.bpmn.runtime.handler.GatewayXORActivityHandler
- All Implemented Interfaces:
IActivityHandler
Handler for xor split and join gateways.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.void
execute
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.protected boolean
isValid
(ProcessThread thread, jadex.javaparser.IParsedExpression exp, jadex.common.IValueFetcher fetcher) Safely evaluate a branch expression.
-
Constructor Details
-
GatewayXORActivityHandler
public GatewayXORActivityHandler()
-
-
Method Details
-
execute
Execute an activity.- Specified by:
execute
in interfaceIActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
cancel
Execute an activity.- Specified by:
cancel
in interfaceIActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.info
- The info object.
-
isValid
protected boolean isValid(ProcessThread thread, jadex.javaparser.IParsedExpression exp, jadex.common.IValueFetcher fetcher) Safely evaluate a branch expression.
-