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