org.drools.verifier.components.RulePackage Maven / Gradle / Ivy
package org.drools.verifier.components;
import java.util.HashSet;
import java.util.Set;
/**
*
* @author Toni Rikkola
*/
public class RulePackage extends VerifierComponent {
private static int index = 0;
private int offset = 0;
private String name;
private Set rules = new HashSet();
public RulePackage() {
super(index++);
}
@Override
public VerifierComponentType getComponentType() {
return VerifierComponentType.RULE_PACKAGE;
}
public int getOffset(){
offset++;
return offset % 2;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Set getRules() {
return rules;
}
public void setRules(Set rules) {
this.rules = rules;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy