U
- the type of the Resultpublic class RuleBookRuleBuilder<U>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T> RuleBookRuleWithFactTypeBuilder<T,U> |
withFactType(java.lang.Class<T> factType)
Specifies the fact type
|
RuleBookAuditableRuleBuilder<U> |
withName(java.lang.String ruleName) |
RuleBookRuleWithFactTypeBuilder<java.lang.Object,U> |
withNoSpecifiedFactType()
Specifies no fact type.
|
RuleBookRuleBuilder<U> |
withRuleType(java.lang.Class<? extends Rule> ruleType)
Specifies the Rule type.
|
public RuleBookRuleBuilder<U> withRuleType(java.lang.Class<? extends Rule> ruleType)
ruleType
- the type (class) of Rule to buildpublic RuleBookAuditableRuleBuilder<U> withName(java.lang.String ruleName)
public <T> RuleBookRuleWithFactTypeBuilder<T,U> withFactType(java.lang.Class<T> factType)
T
- the generic fact typefactType
- the type of object that facts are restricted to in the Rule.public RuleBookRuleWithFactTypeBuilder<java.lang.Object,U> withNoSpecifiedFactType()