Package org.kie.internal.conf
Class AlphaThresholdOption
java.lang.Object
org.kie.internal.conf.AlphaThresholdOption
- All Implemented Interfaces:
Serializable,KieBaseOption,Option,SingleValueKieBaseOption,SingleValueOption,SingleValueRuleBaseOption
A class for the alpha node hashing threshold configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OptionKey<AlphaThresholdOption>static final StringThe property name for the default DIALECTFields inherited from interface org.kie.api.conf.SingleValueRuleBaseOption
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AlphaThresholdOptionget(int threshold) This is a factory method for this Alpha Threshold configuration.intReturns the threshold value for alpha hashinginthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.conf.Option
propertyNameMethods inherited from interface org.kie.api.conf.SingleValueRuleBaseOption
type
-
Field Details
-
PROPERTY_NAME
The property name for the default DIALECT- See Also:
-
KEY
-
-
Method Details
-
get
This is a factory method for this Alpha Threshold configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.- Parameters:
threshold- the threshold value for the alpha hashing option- Returns:
- the actual type safe alpha threshold configuration.
-
getPropertyName
- Specified by:
getPropertyNamein interfaceOption
-
getThreshold
public int getThreshold()Returns the threshold value for alpha hashing- Returns:
-
hashCode
public int hashCode() -
equals
-