Package org.drools.model
Class PrototypeExpression.FixedValue
- java.lang.Object
-
- org.drools.model.PrototypeExpression.FixedValue
-
- All Implemented Interfaces:
PrototypeExpression,PrototypeExpression.EvaluableExpression
- Enclosing interface:
- PrototypeExpression
public static class PrototypeExpression.FixedValue extends java.lang.Object implements PrototypeExpression, PrototypeExpression.EvaluableExpression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.PrototypeExpression
PrototypeExpression.BinaryOperation, PrototypeExpression.CompletePrototypeFieldValue, PrototypeExpression.EvaluableExpression, PrototypeExpression.FixedValue, PrototypeExpression.PrototypeArrayItemValue, PrototypeExpression.PrototypeCompositeExpression, PrototypeExpression.PrototypeFieldValue, PrototypeExpression.ThisPrototype
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function1<PrototypeFact,java.lang.Object>asFunction(Prototype prototype)java.lang.Objectevaluate(java.util.Map<PrototypeVariable,PrototypeFact> factsMap)java.util.Collection<java.lang.String>getImpactedFields()java.lang.ObjectgetValue()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.model.PrototypeExpression
add, andThen, composeWith, div, getPrototypeVariables, hasPrototypeVariable, mul, sub
-
-
-
-
Method Detail
-
asFunction
public Function1<PrototypeFact,java.lang.Object> asFunction(Prototype prototype)
- Specified by:
asFunctionin interfacePrototypeExpression
-
getValue
public java.lang.Object getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getImpactedFields
public java.util.Collection<java.lang.String> getImpactedFields()
- Specified by:
getImpactedFieldsin interfacePrototypeExpression
-
evaluate
public java.lang.Object evaluate(java.util.Map<PrototypeVariable,PrototypeFact> factsMap)
- Specified by:
evaluatein interfacePrototypeExpression.EvaluableExpression
-
-