use of com.adaptris.core.PoolingWorkflow in project interlok by adaptris.
the class InFlightWorkflowInterceptorTest method createPoolingWorkflow.
protected static PoolingWorkflow createPoolingWorkflow(String uid, WorkflowInterceptor... interceptors) throws CoreException {
PoolingWorkflow wf = new PoolingWorkflow();
wf.setUniqueId(uid);
for (WorkflowInterceptor wi : interceptors) {
wf.addInterceptor(wi);
}
return wf;
}
Aggregations