Enum Class VersioningIntent

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

@Deprecated public enum VersioningIntent extends Enum<VersioningIntent>
Deprecated.
Indicates whether the user intends certain commands to be run on a compatible worker Build Id version or not.
  • Enum Constant Details

    • VERSIONING_INTENT_UNSPECIFIED

      public static final VersioningIntent VERSIONING_INTENT_UNSPECIFIED
      Deprecated.
      Indicates that the SDK should choose the most sensible default behavior for the type of command, accounting for whether the command will be run on the same task queue as the current worker.
    • VERSIONING_INTENT_COMPATIBLE

      public static final VersioningIntent VERSIONING_INTENT_COMPATIBLE
      Deprecated.
      Indicates that the command should run on a worker with compatible version if possible. It may not be possible if the target task queue does not also have knowledge of the current worker's Build Id.
    • VERSIONING_INTENT_DEFAULT

      public static final VersioningIntent VERSIONING_INTENT_DEFAULT
      Deprecated.
      Indicates that the command should run on the target task queue's current overall-default Build Id.
  • Method Details

    • values

      public static VersioningIntent[] values()
      Deprecated.
      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 VersioningIntent valueOf(String name)
      Deprecated.
      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
    • determineUseCompatibleFlag

      public boolean determineUseCompatibleFlag(boolean destinationTaskQueueIsSame)
      Deprecated.