Enum Class SdkFlag

java.lang.Object
java.lang.Enum<SdkFlag>
io.temporal.internal.common.SdkFlag
All Implemented Interfaces:
Serializable, Comparable<SdkFlag>, Constable

public enum SdkFlag extends Enum<SdkFlag>
SdkFlag represents a flag used to help version the sdk internally to make breaking changes in workflow logic.
  • Enum Constant Details

    • UNSET

      public static final SdkFlag UNSET
    • SKIP_YIELD_ON_DEFAULT_VERSION

      public static final SdkFlag SKIP_YIELD_ON_DEFAULT_VERSION
    • SKIP_YIELD_ON_VERSION

      public static final SdkFlag SKIP_YIELD_ON_VERSION
    • DETERMINISTIC_CANCELLATION_SCOPE_ORDER

      public static final SdkFlag DETERMINISTIC_CANCELLATION_SCOPE_ORDER
    • CANCEL_AWAIT_TIMER_ON_CONDITION

      public static final SdkFlag CANCEL_AWAIT_TIMER_ON_CONDITION
    • VERSION_WAIT_FOR_MARKER

      public static final SdkFlag VERSION_WAIT_FOR_MARKER
    • UNKNOWN

      public static final SdkFlag UNKNOWN
  • Method Details

    • values

      public static SdkFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SdkFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • compare

      public boolean compare(int i)
    • getValue

      public static SdkFlag getValue(int id)
    • getValue

      public int getValue()