Package org.drools.model.functions
Class PredicateInformation
java.lang.Object
org.drools.model.functions.PredicateInformation
Used to generate a better error message when constraints fail
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPredicateInformation(String stringConstraint, String... ruleNames) PredicateInformation(String stringConstraint, String ruleName, String ruleFileName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRuleNames(String... ruleNames) static StringbooleaninthashCode()booleanisEmpty()booleanvoidsetMoreThanMaxRuleDefs(boolean moreThanMaxRuleDefs) toString()
-
Field Details
-
EMPTY_PREDICATE_INFORMATION
-
MAX_RULE_DEFS
public static final int MAX_RULE_DEFS
-
-
Constructor Details
-
PredicateInformation
-
PredicateInformation
-
-
Method Details
-
getStringConstraint
-
getRuleDefs
-
addRuleNames
-
isMoreThanMaxRuleDefs
public boolean isMoreThanMaxRuleDefs() -
setMoreThanMaxRuleDefs
public void setMoreThanMaxRuleDefs(boolean moreThanMaxRuleDefs) -
getRuleNameMap
-
defaultToEmptyString
-
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode() -
toString
-