Package org.drools.model
Class PrototypeExpression.BinaryOperation
- java.lang.Object
-
- org.drools.model.PrototypeExpression.BinaryOperation
-
- All Implemented Interfaces:
PrototypeExpression,PrototypeExpression.EvaluableExpression
- Enclosing interface:
- PrototypeExpression
public static class PrototypeExpression.BinaryOperation extends java.lang.Object implements PrototypeExpression, PrototypeExpression.EvaluableExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrototypeExpression.BinaryOperation.Operator-
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.util.Collection<PrototypeVariable>getPrototypeVariables()booleanhasPrototypeVariable()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, getIndexingKey, mul, sub
-
-
-
-
Method Detail
-
asFunction
public Function1<PrototypeFact,java.lang.Object> asFunction(Prototype prototype)
- Specified by:
asFunctionin interfacePrototypeExpression
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getImpactedFields
public java.util.Collection<java.lang.String> getImpactedFields()
- Specified by:
getImpactedFieldsin interfacePrototypeExpression
-
hasPrototypeVariable
public boolean hasPrototypeVariable()
- Specified by:
hasPrototypeVariablein interfacePrototypeExpression
-
getPrototypeVariables
public java.util.Collection<PrototypeVariable> getPrototypeVariables()
- Specified by:
getPrototypeVariablesin interfacePrototypeExpression
-
evaluate
public java.lang.Object evaluate(java.util.Map<PrototypeVariable,PrototypeFact> factsMap)
- Specified by:
evaluatein interfacePrototypeExpression.EvaluableExpression
-
-