org.drools.verifier.components.VerifierPredicateDescr Maven / Gradle / Ivy
package org.drools.verifier.components;
import org.drools.verifier.report.components.Cause;
import org.drools.verifier.report.components.CauseType;
/**
*
* @author Toni Rikkola
*/
public class VerifierPredicateDescr extends VerifierComponent implements
Cause {
private static int index = 0;
private String content;
private String classMethodName;
public VerifierPredicateDescr() {
super(index++);
}
@Override
public VerifierComponentType getComponentType() {
return VerifierComponentType.PREDICATE;
}
public CauseType getCauseType() {
return CauseType.PREDICATE;
}
public String getClassMethodName() {
return classMethodName;
}
public void setClassMethodName(String classMethodName) {
this.classMethodName = classMethodName;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String toString() {
return "Predicate id: " + id + " content: " + content;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy