Class LambdaEnabled
- java.lang.Object
-
- org.drools.modelcompiler.attributes.DynamicAttributeEvaluator<Boolean>
-
- org.drools.modelcompiler.attributes.LambdaEnabled
-
- All Implemented Interfaces:
Serializable,org.drools.core.rule.accessor.Enabled
public class LambdaEnabled extends DynamicAttributeEvaluator<Boolean> implements org.drools.core.rule.accessor.Enabled
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.drools.modelcompiler.attributes.DynamicAttributeEvaluator
supplier
-
-
Constructor Summary
Constructors Constructor Description LambdaEnabled(org.drools.model.DynamicValueSupplier<Boolean> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetValue(org.drools.core.reteoo.Tuple tuple, org.drools.core.rule.Declaration[] declrs, org.drools.core.definitions.rule.impl.RuleImpl rule, org.drools.core.common.ReteEvaluator reteEvaluator)-
Methods inherited from class org.drools.modelcompiler.attributes.DynamicAttributeEvaluator
getDeclarations
-
-
-
-
Constructor Detail
-
LambdaEnabled
public LambdaEnabled(org.drools.model.DynamicValueSupplier<Boolean> supplier)
-
-
Method Detail
-
getValue
public boolean getValue(org.drools.core.reteoo.Tuple tuple, org.drools.core.rule.Declaration[] declrs, org.drools.core.definitions.rule.impl.RuleImpl rule, org.drools.core.common.ReteEvaluator reteEvaluator)- Specified by:
getValuein interfaceorg.drools.core.rule.accessor.Enabled
-
-