io.takari.bpm.model.SourceAwareProcessDefinition Maven / Gradle / Ivy
package io.takari.bpm.model;
import java.util.Collection;
import java.util.Map;
public class SourceAwareProcessDefinition extends ProcessDefinition {
private final Map sourceMaps;
public SourceAwareProcessDefinition(ProcessDefinition source, Map sourceMaps) {
super(source, source.getAttributes());
this.sourceMaps = sourceMaps;
}
public SourceAwareProcessDefinition(String id, Collection children, Map attributes, Map sourceMaps) {
super(id, children, attributes);
this.sourceMaps = sourceMaps;
}
public Map getSourceMaps() {
return sourceMaps;
}
}