Package org.kie.api.runtime.conf
Class ClockTypeOption
java.lang.Object
org.kie.api.runtime.conf.ClockTypeOption
- All Implemented Interfaces:
Serializable,Option,SingleValueOption,KieSessionOption,SingleValueKieSessionOption
A class for the session clock configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OptionKey<ClockTypeOption>static final StringThe property name for the clock type configurationstatic final ClockTypeOptionstatic final ClockTypeOptionFields inherited from interface org.kie.api.runtime.conf.KieSessionOption
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ClockTypeOptionThis is a factory method for this Clock Type configuration.inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.runtime.conf.KieSessionOption
typeMethods inherited from interface org.kie.api.conf.Option
propertyName
-
Field Details
-
PSEUDO
-
REALTIME
-
PROPERTY_NAME
The property name for the clock type configuration- See Also:
-
KEY
-
-
Method Details
-
get
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
- Specified by:
getPropertyNamein interfaceOption- Returns:
- the property name for this option
-
getClockType
- Returns:
- the configured clock type
-
hashCode
public int hashCode() -
equals
-
toString
-