|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleDescrBuilder
A descriptor builder for rules
| Method Summary | |
|---|---|
RuleDescrBuilder |
extendsRule(String name)
Defines the name of the rule this rule extends. |
CEDescrBuilder<RuleDescrBuilder,AndDescr> |
lhs()
Defines the LHS (condition) of the rule. |
RuleDescrBuilder |
name(String name)
The name of the rule. |
RuleDescrBuilder |
namedRhs(String name,
String rhs)
An additional named right hand side (consequence) of the rule. |
RuleDescrBuilder |
rhs(String rhs)
The default right hand side (consequence) of the rule. |
| Methods inherited from interface org.drools.lang.api.AnnotatedDescrBuilder |
|---|
newAnnotation |
| Methods inherited from interface org.drools.lang.api.AttributeSupportBuilder |
|---|
attribute, attribute, attribute |
| Methods inherited from interface org.drools.lang.api.DescrBuilder |
|---|
end, endCharacter, endLocation, getDescr, startCharacter, startLocation |
| Method Detail |
|---|
RuleDescrBuilder name(String name)
name - name of the rule
RuleDescrBuilder extendsRule(String name)
name - name of the parent rule
RuleDescrBuilder rhs(String rhs)
rhs - the code block
RuleDescrBuilder namedRhs(String name,
String rhs)
name - the name of the consequencerhs - the code block
CEDescrBuilder<RuleDescrBuilder,AndDescr> lhs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||