Package de.danet.an.workflow.internalapi

Examples of de.danet.an.workflow.internalapi.ExtTransitionLocal.from()


      transByFrom.put (key, new ArrayList ());
  }
  for (Iterator i = process.transitionsLocal().iterator ();
             i.hasNext(); ) {
      ExtTransitionLocal t = (ExtTransitionLocal)i.next();
      Collection fts = (Collection)transByFrom.get(t.from().key());
      if (fts == null) {
    // this may happen in the case of block activites with
    // exception triggered transitions, because there are
    // no real activities instantiated
    fts = new ArrayList ();
View Full Code Here


      if (fts == null) {
    // this may happen in the case of block activites with
    // exception triggered transitions, because there are
    // no real activities instantiated
    fts = new ArrayList ();
    transByFrom.put (t.from().key(), fts);
      }
      fts.add (t);
      ((Collection)transByTo.get(t.to().key())).add (t);
  }
  for (Iterator i = transByFrom.keySet().iterator(); i.hasNext();) {
View Full Code Here

    if (!(toTrans != null && trans.equals (toTrans))
        && !trans.hasPendingToken()) {
        continue;
    }
    groupOK = true;
    addToTriggers (triggers, trans.from());
      }
      if (!groupOK) {
    if (logger.isDebugEnabled()) {
        logger.debug (act + " not startable");
    }
View Full Code Here

      throw new IllegalArgumentException
    (act + " has no predecessors, cannot be preliminarily chosen");
  }
  for (Iterator i = predecessors.iterator(); i.hasNext ();) {
      ExtTransitionLocal trans = (ExtTransitionLocal)i.next();
      ExtActivityLocal fromAct = (ExtActivityLocal)trans.from();
      if (fromAct.deferChoiceOnSplit ()
    && threadInfo.includes (fromAct.key())) {
    for (Iterator j = ((Collection)transByFrom.get(fromAct.key()))
       .iterator(); j.hasNext ();) {
        ExtTransitionLocal ft = (ExtTransitionLocal)j.next();
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.