modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java
/**
   * Parses a task with no specific type (behaves as passthrough).
   */
Parses a task with no specific type (behaves as passthrough).
Parses a task with no specific type ( behaves as passthrough ) .
public ActivityImpl createTask(Task task, ScopeImpl scope) {
    ActivityImpl activity = createActivityOnScope(task, ELEMENT_TASK, scope);
    activity.setActivityBehavior(activityBehaviorFactory.createTaskActivityBehavior(task));
    activity.setAsync(task.isAsynchronous());
    activity.setExclusive(!task.isNotExclusive());
    createExecutionListenersOnScope(task.getExecutionListeners(), activity);
    for (BpmnParseListener parseListener : parseListeners) {
      parseListener.parseTask(task, scope, activity);
    }
    return activity;
  }
public ActivityImpl createTask ( Task task , ScopeImpl scope ) { ActivityImpl activity = createActivityOnScope ( task , ELEMENT_TASK , scope ) ; activity . setActivityBehavior ( activityBehaviorFactory . createTaskActivityBehavior ( task ) ) ; activity . setAsync ( task . isAsynchronous ( ) ) ; activity . setExclusive ( ! task . isNotExclusive ( ) ) ; createExecutionListenersOnScope ( task . getExecutionListeners ( ) , activity ) ; for ( BpmnParseListener parseListener : parseListeners ) { parseListener . parseTask ( task , scope , activity ) ; } return activity ; }
Parses a task with no specific type (behaves as passthrough).
Parses a task with no specific type ( behaves as passthrough ) .