org.drools.spring.factory
Class RuleBuilder

java.lang.Object
  extended by org.drools.spring.factory.RuleBuilder

public class RuleBuilder
extends java.lang.Object


Nested Class Summary
static class RuleBuilder.InvalidParameterException
           
static class RuleBuilder.InvalidPojoConditionException
           
static class RuleBuilder.InvalidReturnTypeException
           
 
Constructor Summary
RuleBuilder()
           
 
Method Summary
 Rule buildRule(Rule rule, java.lang.Object pojo)
           
 void setArgumentMetadataSource(ArgumentMetadataSource argumentMetadataSource)
           
 void setMethodMetadataSource(MethodMetadataSource methodMetadataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBuilder

public RuleBuilder()
Method Detail

setMethodMetadataSource

public void setMethodMetadataSource(MethodMetadataSource methodMetadataSource)

setArgumentMetadataSource

public void setArgumentMetadataSource(ArgumentMetadataSource argumentMetadataSource)

buildRule

public Rule buildRule(Rule rule,
                      java.lang.Object pojo)
               throws DroolsException
Throws:
DroolsException