org.camunda.bpm.engine.impl.bpmn.behavior
Class EventSubProcessStartConditionalEventActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.NoneStartEventActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior
              extended by org.camunda.bpm.engine.impl.bpmn.behavior.EventSubProcessStartConditionalEventActivityBehavior
All Implemented Interfaces:
ConditionalEventBehavior, CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior

public class EventSubProcessStartConditionalEventActivityBehavior
extends EventSubProcessStartEventActivityBehavior
implements ConditionalEventBehavior

Author:
Christopher Zell

Field Summary
protected  ConditionalEventDefinition conditionalEvent
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior, LOG
 
Constructor Summary
EventSubProcessStartConditionalEventActivityBehavior(ConditionalEventDefinition conditionalEvent)
           
 
Method Summary
 ConditionalEventDefinition getConditionalEventDefinition()
          Returns the current conditional event definition.
 void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)
          Checks the condition, on satisfaction the activity is leaved.
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
doLeave, execute, leave, leaveIgnoreConditions, signal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conditionalEvent

protected final ConditionalEventDefinition conditionalEvent
Constructor Detail

EventSubProcessStartConditionalEventActivityBehavior

public EventSubProcessStartConditionalEventActivityBehavior(ConditionalEventDefinition conditionalEvent)
Method Detail

getConditionalEventDefinition

public ConditionalEventDefinition getConditionalEventDefinition()
Description copied from interface: ConditionalEventBehavior
Returns the current conditional event definition.

Specified by:
getConditionalEventDefinition in interface ConditionalEventBehavior
Returns:
the conditional event definition

leaveOnSatisfiedCondition

public void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription,
                                      VariableEvent variableEvent)
Description copied from interface: ConditionalEventBehavior
Checks the condition, on satisfaction the activity is leaved.

Specified by:
leaveOnSatisfiedCondition in interface ConditionalEventBehavior
Parameters:
eventSubscription - the event subscription which contains all necessary informations
variableEvent - the variableEvent to evaluate the condition


Copyright © 2017 camunda services GmbH. All rights reserved.