Class AlphaRangeIndexThresholdOption

java.lang.Object
org.kie.internal.conf.AlphaRangeIndexThresholdOption
All Implemented Interfaces:
Serializable, KieBaseOption, Option, SingleValueKieBaseOption, SingleValueOption, SingleValueRuleBaseOption

public class AlphaRangeIndexThresholdOption extends Object implements SingleValueRuleBaseOption
A class for the alpha node range index threshold configuration.
See Also:
  • Field Details

  • Method Details

    • get

      public static AlphaRangeIndexThresholdOption get(int threshold)
      This is a factory method for this Alpha Range Index 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 range index option
      Returns:
      the actual type safe alpha range index threshold configuration.
    • getPropertyName

      public String getPropertyName()
      Specified by:
      getPropertyName in interface Option
    • getThreshold

      public int getThreshold()
      Returns the threshold value for alpha range index
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object