Package com.microworkflow.execution

Examples of com.microworkflow.execution.Continuation


  public void setJoin(JoinActivity join) {
    this.join = join;
  }

  public void computeStateFor(Continuation k) {
    Continuation joinContinuation = theJoin.continuationWith(k.getNextContinuation());
    ((ForkContinuation)k).setBranches(getContinuationsForComponentsWith(joinContinuation));
 
View Full Code Here


  public void setThenBranch(Activity thenBranch) {
    this.thenBranch = thenBranch;
  }

  public void computeStateFor(Continuation k) {
    Continuation next=k.getNextContinuation();
    ConditionalContinuation ck=(ConditionalContinuation)k;
    if (thenBranch != null) {
      ck.setThenContinuation(thenBranch.continuationWith(next));
    } else {
      ck.setThenContinuation(next);
View Full Code Here

TOP

Related Classes of com.microworkflow.execution.Continuation

Copyright © 2018 www.massapicom. 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.