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 TypeMethodDescriptionvoidcancel(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.voidexecute(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.protected booleanisValid(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:
executein interfaceIActivityHandler- Parameters:
activity- The activity to execute.instance- The process instance.thread- The process thread.
-
cancel
Execute an activity.- Specified by:
cancelin 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.
-