Class ClockTypeOption

java.lang.Object
org.kie.api.runtime.conf.ClockTypeOption
All Implemented Interfaces:
Serializable, Option, SingleValueOption, KieSessionOption, SingleValueKieSessionOption

public class ClockTypeOption extends Object implements SingleValueKieSessionOption
A class for the session clock configuration.
See Also:
  • Field Details

  • Method Details

    • get

      public static ClockTypeOption get(String clockType)
      This is a factory method for this Clock Type configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.
      Parameters:
      clockType - the identifier for the clock type
      Returns:
      the actual type safe default clock type configuration.
    • getPropertyName

      public String getPropertyName()
      Specified by:
      getPropertyName in interface Option
      Returns:
      the property name for this option
    • getClockType

      public String getClockType()
      Returns:
      the configured clock type
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object