Package org.jbpm.persistence.correlation

Examples of org.jbpm.persistence.correlation.CorrelationKeyInfo.addProperty()


        req = new JaxbCommandsRequest("deployment", new StartProcessCommand("org.jbpm.humantask"));
        newReq = testRoundTrip(req);

        CorrelationKeyInfo corrKey = new CorrelationKeyInfo();
        corrKey.addProperty(new CorrelationPropertyInfo("null", "val"));
   
        GetProcessInstanceByCorrelationKeyCommand gpibckCmd = new GetProcessInstanceByCorrelationKeyCommand(corrKey);
        req = new JaxbCommandsRequest("test", gpibckCmd);
        testRoundTrip(req);
    }
View Full Code Here


    CorrelationKeyInfo info = new CorrelationKeyInfo();
    info.setName(this.correlationKeyName);
    info.setProcessInstanceId(this.processInstanceId);
    List<CorrelationPropertyInfo> props = toProperties(this.correlationKeyProperties);
    for (CorrelationPropertyInfo prop : props) {
      info.addProperty(prop);
    }
    set(info, "id", this.correlationKeyId);
    return info;
  }
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.