Class IntegerSumAccumulateFunction
- java.lang.Object
-
- org.drools.core.base.accumulators.AbstractAccumulateFunction<IntegerSumAccumulateFunction.SumData>
-
- org.drools.core.base.accumulators.IntegerSumAccumulateFunction
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.runtime.rule.AccumulateFunction<IntegerSumAccumulateFunction.SumData>
public class IntegerSumAccumulateFunction extends AbstractAccumulateFunction<IntegerSumAccumulateFunction.SumData>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
IntegerSumAccumulateFunction.SumData
-
Constructor Summary
Constructors Constructor Description IntegerSumAccumulateFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accumulate(IntegerSumAccumulateFunction.SumData data, Object value)
IntegerSumAccumulateFunction.SumData
createContext()
Object
getResult(IntegerSumAccumulateFunction.SumData data)
Class<?>
getResultType()
void
init(IntegerSumAccumulateFunction.SumData data)
void
readExternal(ObjectInput in)
void
reverse(IntegerSumAccumulateFunction.SumData data, Object value)
boolean
supportsReverse()
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.drools.core.base.accumulators.AbstractAccumulateFunction
equals, hashCode
-
-
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Throws:
IOException
-
createContext
public IntegerSumAccumulateFunction.SumData createContext()
-
init
public void init(IntegerSumAccumulateFunction.SumData data)
-
accumulate
public void accumulate(IntegerSumAccumulateFunction.SumData data, Object value)
-
reverse
public void reverse(IntegerSumAccumulateFunction.SumData data, Object value)
-
getResult
public Object getResult(IntegerSumAccumulateFunction.SumData data)
-
supportsReverse
public boolean supportsReverse()
-
getResultType
public Class<?> getResultType()
-
-