コード例 #1
0
 public SuspendedExecutionData(SuspendedExecution suspendedExecution) {
   id = suspendedExecution.getId();
   activityInstanceId = suspendedExecution.getActivityInstanceId();
   currentActivityId = suspendedExecution.getCurrentActivityId();
   operationType = suspendedExecution.getOperationType();
   currentTransitionId = suspendedExecution.getCurrentTransitionId();
   breakPointType = suspendedExecution.getBreakPoint().getBreakPointSpec().toString();
   variables = new ArrayList<VariableInstanceDto>();
   VariableMap variables = suspendedExecution.getVariablesTyped();
   for (String name : variables.keySet()) {
     this.variables.add(new VariableInstanceDto(name, variables.getValueTyped(name)));
   }
 }
コード例 #2
0
 protected static DecisionInvocation createInvocation(
     DecisionDefinition decisionDefinition, VariableMap variables) {
   return createInvocation(decisionDefinition, variables.asVariableContext());
 }