Package org.kie.internal.builder.conf
Class AccumulateFunctionOption
java.lang.Object
org.kie.internal.builder.conf.AccumulateFunctionOption
- All Implemented Interfaces:
Serializable,org.kie.api.conf.MultiValueOption,org.kie.api.conf.Option,KnowledgeBuilderOption,MultiValueKieBuilderOption,MultiValueRuleBuilderOption
A class for the accumulate function configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.kie.api.conf.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 AccumulateFunctionOptionThis is a factory method for this AccumulateFunction configuration.org.kie.api.runtime.rule.AccumulateFunctionReturns 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
public static AccumulateFunctionOption get(String name, org.kie.api.runtime.rule.AccumulateFunction function) 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 interfaceorg.kie.api.conf.Option
-
getName
Returns the name of the function configured- Returns:
-
getFunction
public org.kie.api.runtime.rule.AccumulateFunction getFunction()Returns the accumulate function instance- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-