modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java
/**
   * Parses a boundary timer event. The end-result will be that the given nested
   * activity will get the appropriate {@link ActivityBehavior}.
   * 
   * @param timerEventDefinition
   *          The XML element corresponding with the timer event details
   * @param interrupting
   *          Indicates whether this timer is interrupting.
   * @param timerActivity
   *          The activity which maps to the structure of the timer event on the
   *          boundary of another activity. Note that this is NOT the activity
   *          onto which the boundary event is attached, but a nested activity
   *          inside this activity, specifically created for this event.
   */
Parses a boundary timer event. The end-result will be that the given nested
activity will get the appropriate  ActivityBehavior.

@param timerEventDefinition
The XML element corresponding with the timer event details
@param interrupting
Indicates whether this timer is interrupting.
@param timerActivity
The activity which maps to the structure of the timer event on the
boundary of another activity. Note that this is NOT the activity
onto which the boundary event is attached, but a nested activity
inside this activity, specifically created for this event.
Parses a boundary timer event . The end - result will be that the given nested activity will get the appropriate ActivityBehavior . @param timerEventDefinition The XML element corresponding with the timer event details @param interrupting Indicates whether this timer is interrupting . @param timerActivity The activity which maps to the structure of the timer event on the boundary of another activity . Note that this is NOT the activity onto which the boundary event is attached but a nested activity inside this activity specifically created for this event .
public void createBoundaryTimerEventDefinition(TimerEventDefinition timerEventDefinition, boolean interrupting, ActivityImpl timerActivity) {
    timerActivity.setProperty("type", "boundaryTimer");
    TimerDeclarationImpl timerDeclaration = createTimer(timerEventDefinition, timerActivity, TimerExecuteNestedActivityJobHandler.TYPE);
    if (interrupting) {
      timerDeclaration.setInterruptingTimer(true);
    }
    addTimerDeclaration(timerActivity.getParent(), timerDeclaration);
    if (timerActivity.getParent() instanceof ActivityImpl) {
      ((ActivityImpl) timerActivity.getParent()).setScope(true);
    }
    for (BpmnParseListener parseListener : parseListeners) {
      parseListener.parseBoundaryTimerEventDefinition(timerEventDefinition, interrupting, timerActivity);
    }
  }
public void createBoundaryTimerEventDefinition ( TimerEventDefinition timerEventDefinition , boolean interrupting , ActivityImpl timerActivity ) { timerActivity . setProperty ( "type" , "boundaryTimer" ) ; TimerDeclarationImpl timerDeclaration = createTimer ( timerEventDefinition , timerActivity , TimerExecuteNestedActivityJobHandler . TYPE ) ; if ( interrupting ) { timerDeclaration . setInterruptingTimer ( true ) ; } addTimerDeclaration ( timerActivity . getParent ( ) , timerDeclaration ) ; if ( timerActivity . getParent ( ) instanceof ActivityImpl ) { ( ( ActivityImpl ) timerActivity . getParent ( ) ) . setScope ( true ) ; } for ( BpmnParseListener parseListener : parseListeners ) { parseListener . parseBoundaryTimerEventDefinition ( timerEventDefinition , interrupting , timerActivity ) ; } }
Parses a boundary timer event.
Parses a boundary timer event .
// ACT-1427