Package org.uengine.util

Examples of org.uengine.util.ActivityForLoop.run()


              stop(roles[0]);
            }
          }
        };
       
        af.run(act);
        if ((Role) af.getReturnValue() != null) {
          gPointX = appendRoleList((Role)af.getReturnValue());
        }
        setGraphActivityPoint(graph, depth);
      } else {
View Full Code Here


        }catch(Exception e){
          throw new RuntimeException(e);
        }
      }
    };
    forLoop.run(pd);

    return definitions;
  }
 
  public void writeZip(String filePath, ArrayList zipEntryMapperList,UEngineArchive ua) throws IOException {
View Full Code Here

          } catch (Exception e) {
            throw new RuntimeException(e);
          }
        }
      };
      forLoop.run(pd);

      //form
      ProcessVariable[] pvs = pd.getProcessVariables();
      if (pvs != null) {
        for (int j = 0; j < pvs.length; j++) {
View Full Code Here

          stop(activity);
        }
      }
    };
   
    findingLoop.run(this);   
    this.draftActivity = (HumanApprovalActivity)findingLoop.getReturnValue();
   
    return draftActivity;
  }
 
View Full Code Here

          ((ActivityForLoop)this).stop(activity);
        }
      }
    };
     
    findingLoop.run(this);   
    Activity findingActivity = (Activity)findingLoop.getReturnValue();
     
    return findingActivity;
  }
 
View Full Code Here

          }
        }
      }
    };
   
    findingLoop.run(this);

    Object result = findingLoop.getReturnValue();
    if(result instanceof HumanActivity){     
      ActivityReference ref = new ActivityReference();
      ref.setActivity((Activity)result);
View Full Code Here

          tracingTagMap.put(activity.getTracingTag(), activity);
      }     
     
    };
   
    findingLoopForTracingTagCollision.run(this);
   
   
    if(getRoles()!=null) {
      Role[] roles = getRoles();
      for(int i=0; i<roles.length; i++){
View Full Code Here

            activityNode.add(createRecord(activityPropertyNames[i],"[activities]."+activity.getTracingTag() + "." + activityPropertyNames[i], isSource));
          }
        }
      }
    };
    afl.run(def);
  }
 
 
  protected void createVariableNode(ProcessVariable variable, Record variableNode, boolean isSource){
   
View Full Code Here

        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    };
    forLoop.run(parent);
   
    int readyIndex = -1;
    for (int i = 0; i < childActs.size(); i++) {
      Activity approvalAct = (Activity) childActs.get(i);
      if (Activity.STATUS_READY.equalsIgnoreCase(approvalAct.getStatus(instance))) {
View Full Code Here

          }
        }
       
      };
     
      findingLoopForRunningScopeActivity.run(getProcessDefinition());
    }
   
    return messageSubscriptions;
  }
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.