Package org.jbpm.pvm

Examples of org.jbpm.pvm.Execution.signal()


   
    execution = processDefinition.startExecution();
    assertEquals("accept loan request", execution.getNode().getName());
    execution.signal();
    assertEquals("loan evaluation", execution.getNode().getName());
    execution.signal("reject");
    assertEquals("end", execution.getNode().getName());
  }
}
View Full Code Here


          .event("node-enter")
            .listener(new Display("entering b"))
    .done();

    Execution execution = processDefinition.startExecution();
    execution.signal();
  }
}
View Full Code Here

    this.parameters = parameters;
  }

  public Object execute(Environment environment) throws Exception {
    Execution execution = environment.get(PvmDbSession.class).get(ExecutionImpl.class, executionDbid);
    execution.signal(signalName, parameters);
    return execution;
  }
}
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.