Package org.kie.internal.builder.conf
Class AccumulateFunctionOption
java.lang.Object
org.kie.internal.builder.conf.AccumulateFunctionOption
- All Implemented Interfaces:
Serializable,MultiValueOption,Option,KnowledgeBuilderOption,MultiValueKieBuilderOption,MultiValueRuleBuilderOption
A class for the accumulate function configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OptionKey<AccumulateFunctionOption>static final StringThe prefix for the property name for accumulate functionsFields inherited from interface org.kie.internal.builder.conf.MultiValueRuleBuilderOption
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AccumulateFunctionOptionget(String name, AccumulateFunction function) This is a factory method for this AccumulateFunction configuration.Returns the accumulate function instancegetName()Returns the name of the function configuredinthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.internal.builder.conf.MultiValueRuleBuilderOption
typeMethods inherited from interface org.kie.api.conf.Option
propertyName
-
Field Details
-
PROPERTY_NAME
The prefix for the property name for accumulate functions- See Also:
-
KEY
-
-
Method Details
-
get
This is a factory method for this AccumulateFunction configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.- Parameters:
name- the name of the function to be configured- Returns:
- the actual type safe accumulate function configuration.
-
getPropertyName
- Specified by:
getPropertyNamein interfaceOption
-
getName
Returns the name of the function configured- Returns:
-
getFunction
Returns the accumulate function instance- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-