Enum Class VersioningIntent
- All Implemented Interfaces:
Serializable,Comparable<VersioningIntent>,Constable
Deprecated.
Indicates whether the user intends certain commands to be run on a compatible worker Build Id
version or not.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Indicates that the command should run on a worker with compatible version if possible.Deprecated.Indicates that the command should run on the target task queue's current overall-default Build Id.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. -
Method Summary
Modifier and TypeMethodDescriptionbooleandetermineUseCompatibleFlag(boolean destinationTaskQueueIsSame) Deprecated.static VersioningIntentDeprecated.Returns the enum constant of this class with the specified name.static VersioningIntent[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
Deprecated.Indicates that the command should run on the target task queue's current overall-default Build Id.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
determineUseCompatibleFlag
public boolean determineUseCompatibleFlag(boolean destinationTaskQueueIsSame) Deprecated.
-