Class GatewayXORActivityHandler

java.lang.Object
jadex.bpmn.runtime.handler.GatewayXORActivityHandler
All Implemented Interfaces:
IActivityHandler

public class GatewayXORActivityHandler extends Object implements IActivityHandler
Handler for xor split and join gateways.
  • Constructor Details

    • GatewayXORActivityHandler

      public GatewayXORActivityHandler()
  • Method Details

    • execute

      public void execute(MActivity activity, jadex.core.IComponent instance, ProcessThread thread)
      Execute an activity.
      Specified by:
      execute in interface IActivityHandler
      Parameters:
      activity - The activity to execute.
      instance - The process instance.
      thread - The process thread.
    • cancel

      public void cancel(MActivity activity, jadex.core.IComponent instance, ProcessThread thread)
      Execute an activity.
      Specified by:
      cancel in interface IActivityHandler
      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.