Package org.openbp.server.test

Examples of org.openbp.server.test.PersistedComplexParam


   * propagated to an exception handler if defined or abort the process execution otherwise.
   */
  public boolean execute(HandlerContext hc)
    throws Exception
  {
    PersistedComplexParam param = (PersistedComplexParam) hc.getParam("ObjParam");
    Integer value = (Integer) hc.getParam("NumParam");

    int newValue = value.intValue() + 1;
    param.setResult(newValue);

    if (newValue >= 100)
    {
      hc.setNextSocket("LargeNumber");
    }
View Full Code Here

TOP

Related Classes of org.openbp.server.test.PersistedComplexParam

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.