Package org.drools.model
Interface PrototypeExpression
-
- All Known Implementing Classes:
PrototypeExpression.BinaryOperation,PrototypeExpression.CompletePrototypeFieldValue,PrototypeExpression.FixedValue,PrototypeExpression.PrototypeArrayItemValue,PrototypeExpression.PrototypeCompositeExpression,PrototypeExpression.PrototypeFieldValue,PrototypeExpression.ThisPrototype
public interface PrototypeExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPrototypeExpression.BinaryOperationstatic classPrototypeExpression.CompletePrototypeFieldValuestatic interfacePrototypeExpression.EvaluableExpressionstatic classPrototypeExpression.FixedValuestatic classPrototypeExpression.PrototypeArrayItemValuestatic classPrototypeExpression.PrototypeCompositeExpressionstatic classPrototypeExpression.PrototypeFieldValuestatic classPrototypeExpression.ThisPrototype
-
Method Summary
-
-
-
Method Detail
-
asFunction
Function1<PrototypeFact,java.lang.Object> asFunction(Prototype prototype)
-
getImpactedFields
java.util.Collection<java.lang.String> getImpactedFields()
-
fixedValue
static PrototypeExpression fixedValue(java.lang.Object value)
-
thisPrototype
static PrototypeExpression thisPrototype()
-
prototypeField
static PrototypeExpression prototypeField(java.lang.String fieldName)
-
prototypeField
static PrototypeExpression prototypeField(PrototypeVariable protoVar, java.lang.String fieldName)
-
prototypeArrayItem
static PrototypeExpression prototypeArrayItem(java.lang.String fieldName, int pos)
-
andThen
default PrototypeExpression andThen(PrototypeExpression other)
-
hasPrototypeVariable
default boolean hasPrototypeVariable()
-
getPrototypeVariables
default java.util.Collection<PrototypeVariable> getPrototypeVariables()
-
composeWith
default PrototypeExpression composeWith(PrototypeExpression.BinaryOperation.Operator op, PrototypeExpression right)
-
add
default PrototypeExpression add(PrototypeExpression right)
-
sub
default PrototypeExpression sub(PrototypeExpression right)
-
mul
default PrototypeExpression mul(PrototypeExpression right)
-
div
default PrototypeExpression div(PrototypeExpression right)
-
-