Examples of performOperation()


Examples of org.activiti.engine.impl.pvm.runtime.InterpretableExecution.performOperation()

  private static void executeEventHandler(ActivityImpl borderEventActivity, ActivityExecution leavingExecution) { 
    if(borderEventActivity.getActivityBehavior() instanceof EventSubProcessStartEventActivityBehavior) {
      InterpretableExecution execution = (InterpretableExecution) leavingExecution;
      execution.setActivity(borderEventActivity.getParentActivity());
      execution.performOperation(AtomicOperation.ACTIVITY_START); // make sure the listeners are invoked!
    }else {
      leavingExecution.executeActivity(borderEventActivity);
    }
  }
 
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.performOperation()

      try {

        compensatingExecution.setActivity(compensationHandler);

        // executing the atomic operation makes sure activity start events are fired
        compensatingExecution.performOperation(AtomicOperation.ACTIVITY_START);

      } catch (Exception e) {
        throw new ProcessEngineException("Error while handling compensation event " + eventSubscription, e);
      }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()

      if (executionToUse.getActivity().isScope()) {
        executionToUse.setActive(false); // Deactivate since we jump to a node further down the hierarchy
        executionToUse = executionToUse.getExecutions().get(0);
      }
      executionToUse.setActivity(activity);
      executionToUse.performOperation(PROCESS_START_INITIAL);
    }
  }

  public String getCanonicalName() {
    return "process-start-initial";
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()

        if (parent!=null) {
          // set activity on parent in case the parent is an inactive scope execution and activity has been set to 'null'.
          if(parent.getActivity() == null && activity != null && activity.getParentActivity() != null) {
            parent.setActivity(activity.getParentActivity());
          }
          parent.performOperation(DELETE_CASCADE);
        }
      }
    }
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()

        // and have no outgoing transitions: end the process instance here
        if(activity.getParent() == activity.getProcessDefinition()
                && activity.getOutgoingTransitions().isEmpty()) {
          parentScopeExecution.setActivity(activity);
          // we call end() because it sets isEnded on the execution
          parentScopeExecution.performOperation(PROCESS_END);
        } else {
          parentScopeExecution.setActivity(parentActivity);
          parentScopeExecution.performOperation(ACTIVITY_NOTIFY_LISTENER_END);
        }
      }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()

          parentScopeExecution.setActivity(activity);
          // we call end() because it sets isEnded on the execution
          parentScopeExecution.performOperation(PROCESS_END);
        } else {
          parentScopeExecution.setActivity(parentActivity);
          parentScopeExecution.performOperation(ACTIVITY_NOTIFY_LISTENER_END);
        }
      }

    } else { // execution.isConcurrent() && !execution.isScope()
View Full Code Here

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()

    } else {
      propagatingExecution = execution;
    }

    propagatingExecution.performOperation(TRANSITION_NOTIFY_LISTENER_START);
  }

  public String getCanonicalName() {
    return "transition-create-scope";
  }
View Full Code Here

Examples of org.eclipse.jst.jsf.validation.internal.el.operators.BinaryOperator.performOperation()

                    final int offset = _context.getDocumentPosition() + firstToken.beginColumn - 1;
                    final int length = node.getLastToken().endColumn - firstToken.beginColumn+1;
                    _reporter.report(diagnostic, offset, length);
                }

                curType = operator.performOperation(curType, secondType);
            }
        }

        tracker.setType(curType);
    }
View Full Code Here

Examples of org.eclipse.jst.jsf.validation.internal.el.operators.BracketOperator.performOperation()

                        _reporter.report(diagnostic, offset, length);
                        ((EvaluationTracker) data).setType(null);
                    }
                    else
                    {
                        ((EvaluationTracker) data).setType(bracketOperator.performOperation(symbolType,
                                (ValueType)subExprType));
                        tracker.setCurMemberSymbol(offset, length);
                    }
                }
                // we are finished with the bracketed suffix at this point.
View Full Code Here

Examples of org.eclipse.jst.jsf.validation.internal.el.operators.DotOperator.performOperation()

                    //                                DiagnosticFactory.create_BINARY_OP_DOT_WITH_VALUEA_MAP_SHOULD_USE_ARRAY
                    //                                    (symbolType.getSymbol().getName(), dotId.image),
                    //                                        startOffset, length, _targetFile));
                    //                    }

                    ((EvaluationTracker) data).setType(dotOp.performOperation(symbolType,
                            suffixLiteral));
                    tracker.setCurMemberSymbol(offset, length);
                }

                // we finished with the single dot suffix here
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.