Package org.opennms.netmgt.alarmd.drools
Class MaxSeverityAccumulateFunction
- java.lang.Object
-
- org.drools.core.base.accumulators.AbstractAccumulateFunction<MaxSeverityAccumulateFunction.MaxSeverity>
-
- org.opennms.netmgt.alarmd.drools.MaxSeverityAccumulateFunction
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.runtime.rule.AccumulateFunction<MaxSeverityAccumulateFunction.MaxSeverity>
public class MaxSeverityAccumulateFunction extends org.drools.core.base.accumulators.AbstractAccumulateFunction<MaxSeverityAccumulateFunction.MaxSeverity>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MaxSeverityAccumulateFunction.MaxSeverity
-
Constructor Summary
Constructors Constructor Description MaxSeverityAccumulateFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accumulate(MaxSeverityAccumulateFunction.MaxSeverity context, Object value)
MaxSeverityAccumulateFunction.MaxSeverity
createContext()
Object
getResult(MaxSeverityAccumulateFunction.MaxSeverity context)
Class<?>
getResultType()
void
init(MaxSeverityAccumulateFunction.MaxSeverity context)
void
readExternal(ObjectInput in)
void
reverse(MaxSeverityAccumulateFunction.MaxSeverity context, Object value)
boolean
supportsReverse()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
createContext
public MaxSeverityAccumulateFunction.MaxSeverity createContext()
-
init
public void init(MaxSeverityAccumulateFunction.MaxSeverity context)
-
accumulate
public void accumulate(MaxSeverityAccumulateFunction.MaxSeverity context, Object value)
-
getResult
public Object getResult(MaxSeverityAccumulateFunction.MaxSeverity context)
-
supportsReverse
public boolean supportsReverse()
-
reverse
public void reverse(MaxSeverityAccumulateFunction.MaxSeverity context, Object value)
-
getResultType
public Class<?> getResultType()
-
writeExternal
public void writeExternal(ObjectOutput out)
-
readExternal
public void readExternal(ObjectInput in)
-
-