org.drools.rule.builder
Class ConstraintBuilder
java.lang.Object
org.drools.rule.builder.ConstraintBuilder
public class ConstraintBuilder
- extends Object
|
Method Summary |
static Constraint |
buildLiteralConstraint(RuleBuildContext context,
ValueType vtype,
FieldValue field,
String expression,
String leftValue,
String operator,
String rightValue,
InternalReadAccessor extractor,
LiteralRestrictionDescr restrictionDescr)
|
static Evaluator |
buildLiteralEvaluator(RuleBuildContext context,
InternalReadAccessor extractor,
LiteralRestrictionDescr literalRestrictionDescr,
FieldValue field,
ValueType vtype)
|
static LiteralRestriction |
buildLiteralRestriction(RuleBuildContext context,
InternalReadAccessor extractor,
LiteralRestrictionDescr literalRestrictionDescr,
FieldValue field,
ValueType vtype)
|
static Constraint |
buildVariableConstraint(RuleBuildContext context,
String expression,
Declaration[] declrations,
String leftValue,
String operator,
String rightValue,
InternalReadAccessor extractor,
Restriction restriction)
|
static Evaluator |
getEvaluator(RuleBuildContext context,
BaseDescr descr,
ValueType valueType,
String evaluatorString,
boolean isNegated,
String parameters,
EvaluatorDefinition.Target left,
EvaluatorDefinition.Target right)
|
static EvaluatorDefinition.Target |
getRightTarget(InternalReadAccessor extractor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintBuilder
public ConstraintBuilder()
buildVariableConstraint
public static Constraint buildVariableConstraint(RuleBuildContext context,
String expression,
Declaration[] declrations,
String leftValue,
String operator,
String rightValue,
InternalReadAccessor extractor,
Restriction restriction)
buildLiteralConstraint
public static Constraint buildLiteralConstraint(RuleBuildContext context,
ValueType vtype,
FieldValue field,
String expression,
String leftValue,
String operator,
String rightValue,
InternalReadAccessor extractor,
LiteralRestrictionDescr restrictionDescr)
buildLiteralRestriction
public static LiteralRestriction buildLiteralRestriction(RuleBuildContext context,
InternalReadAccessor extractor,
LiteralRestrictionDescr literalRestrictionDescr,
FieldValue field,
ValueType vtype)
buildLiteralEvaluator
public static Evaluator buildLiteralEvaluator(RuleBuildContext context,
InternalReadAccessor extractor,
LiteralRestrictionDescr literalRestrictionDescr,
FieldValue field,
ValueType vtype)
getRightTarget
public static EvaluatorDefinition.Target getRightTarget(InternalReadAccessor extractor)
getEvaluator
public static Evaluator getEvaluator(RuleBuildContext context,
BaseDescr descr,
ValueType valueType,
String evaluatorString,
boolean isNegated,
String parameters,
EvaluatorDefinition.Target left,
EvaluatorDefinition.Target right)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.