Package jadex.bpmn.runtime.handler
Class GatewayXORActivityHandler
- java.lang.Object
-
- jadex.bpmn.runtime.handler.GatewayXORActivityHandler
-
- All Implemented Interfaces:
IActivityHandler
public class GatewayXORActivityHandler extends java.lang.Object implements IActivityHandler
Handler for xor split and join gateways.
-
-
Constructor Summary
Constructors Constructor Description GatewayXORActivityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.void
execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.protected boolean
isValid(ProcessThread thread, IParsedExpression exp, IValueFetcher fetcher)
Safely evaluate a branch expression.
-
-
-
Method Detail
-
execute
public void execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.- Specified by:
execute
in interfaceIActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
cancel
public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
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, IParsedExpression exp, IValueFetcher fetcher)
Safely evaluate a branch expression.
-
-