|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.reteoo.builder.BuildUtils
public class BuildUtils
Utility functions for reteoo build
Constructor Summary | |
---|---|
BuildUtils()
|
Method Summary | |
---|---|
void |
addBuilder(Class target,
ReteooComponentBuilder builder)
Adds the given builder for the given target to the builders map |
BaseNode |
attachNode(BuildContext context,
BaseNode candidate)
Attaches a node into the network. |
void |
checkUnboundDeclarations(BuildContext context,
Declaration[] declarations)
Make sure the required declarations are previously bound |
BetaConstraints |
createBetaNodeConstraint(BuildContext context,
List list)
Creates and returns a BetaConstraints object for the given list of constraints |
ReteooComponentBuilder |
getBuilderFor(RuleConditionElement target)
Returns a builder for the given target from the builders map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildUtils()
Method Detail |
---|
public void addBuilder(Class target, ReteooComponentBuilder builder)
target
- builder
- public ReteooComponentBuilder getBuilderFor(RuleConditionElement target)
target
-
public BaseNode attachNode(BuildContext context, BaseNode candidate)
context
- The current build contextcandidate
- The node to attach.
public BetaConstraints createBetaNodeConstraint(BuildContext context, List list)
context
- the current build contextlist
- the list of constraints
public void checkUnboundDeclarations(BuildContext context, Declaration[] declarations) throws InvalidPatternException
declarations
-
InvalidPatternException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |