org.jbpm.process.ProcessPackage Maven / Gradle / Ivy
package org.jbpm.process;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.kie.internal.definition.KnowledgePackage;
import org.kie.api.definition.process.Process;
import org.kie.api.definition.rule.Global;
import org.kie.api.definition.rule.Query;
import org.kie.api.definition.rule.Rule;
import org.kie.api.definition.type.FactType;
public class ProcessPackage implements KnowledgePackage {
private String name;
private List processes = new ArrayList();
public ProcessPackage(String name) {
this.name = name;
}
public String getName() {
return name;
}
public Collection getRules() {
return null;
}
public void addProcess(Process process) {
processes.add(process);
}
public Collection getProcesses() {
return processes;
}
public Collection getFactTypes() {
return null;
}
public Collection getQueries() {
return null;
}
public Collection getFunctionNames() {
return null;
}
public Collection getGlobalVariables() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy