Package org.drools.model.patterns
Class AccumulatePatternImpl<T>
java.lang.Object
org.drools.model.patterns.AbstractSinglePattern
org.drools.model.patterns.AccumulatePatternImpl<T>
- All Implemented Interfaces:
AccumulatePattern<T>,Condition,ModelComponent,Pattern<T>
- Direct Known Subclasses:
GroupByPatternImpl
public class AccumulatePatternImpl<T>
extends AbstractSinglePattern
implements AccumulatePattern<T>, ModelComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.model.Condition
Condition.Type -
Constructor Summary
ConstructorsConstructorDescriptionAccumulatePatternImpl(Condition condition, Variable var, AccumulateFunction... accumulateFunctions) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.model.Condition
cloneCondition, getSubConditionsMethods inherited from interface org.drools.model.Pattern
getPatternClassMetadata
-
Constructor Details
-
AccumulatePatternImpl
public AccumulatePatternImpl(Condition condition, Variable var, AccumulateFunction... accumulateFunctions)
-
-
Method Details
-
getAccumulateFunctions
- Specified by:
getAccumulateFunctionsin interfaceAccumulatePattern<T>
-
isCompositePatterns
public boolean isCompositePatterns()- Specified by:
isCompositePatternsin interfaceAccumulatePattern<T>
-
isQuerySource
public boolean isQuerySource()- Specified by:
isQuerySourcein interfaceAccumulatePattern<T>
-
getCondition
- Specified by:
getConditionin interfaceAccumulatePattern<T>
-
getPattern
- Specified by:
getPatternin interfaceAccumulatePattern<T>
-
getInputVariables
- Specified by:
getInputVariablesin interfacePattern<T>
-
getPatternVariable
- Specified by:
getPatternVariablein interfacePattern<T>
-
getBindings
- Specified by:
getBindingsin interfacePattern<T>
-
getWatchedProps
- Specified by:
getWatchedPropsin interfacePattern<T>
-
isPassive
public boolean isPassive() -
getBoundVariables
- Specified by:
getBoundVariablesin interfaceCondition
-
getConstraint
- Specified by:
getConstraintin interfacePattern<T>
-
getType
- Specified by:
getTypein interfaceCondition- Overrides:
getTypein classAbstractSinglePattern
-
isEqualTo
- Specified by:
isEqualToin interfaceModelComponent
-
toString
-