use of com.walmartlabs.concord.process.loader.v2.ProcessDefinitionV2 in project concord by walmartlabs.
the class ProjectLoader method toResult.
private static Result toResult(com.walmartlabs.concord.runtime.v2.ProjectLoaderV2.Result r) {
List<Snapshot> snapshots = r.getSnapshots();
ProcessDefinition pd = new ProcessDefinitionV2(r.getProjectDefinition());
return new Result() {
@Override
public List<Snapshot> snapshots() {
return snapshots;
}
@Override
public ProcessDefinition projectDefinition() {
return pd;
}
};
}
Aggregations