Package io.temporal.client
Class WorkerBuildIdVersionSets
- java.lang.Object
-
- io.temporal.client.WorkerBuildIdVersionSets
-
public class WorkerBuildIdVersionSets extends java.lang.Object
Represents the sets of compatible Build Ids associated with a particular task queue.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkerBuildIdVersionSets.CompatibleSet
Represents a set of Build Ids which are compatible with one another.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<WorkerBuildIdVersionSets.CompatibleSet>
allSets()
java.util.Optional<java.lang.String>
defaultBuildId()
WorkerBuildIdVersionSets.CompatibleSet
defaultSet()
-
-
-
Method Detail
-
defaultBuildId
public java.util.Optional<java.lang.String> defaultBuildId()
- Returns:
- the current overall default Build Id for the queue. Returns empty if there are no defined Build Ids.
-
defaultSet
public WorkerBuildIdVersionSets.CompatibleSet defaultSet()
- Returns:
- the current overall default compatible set for the queue. Returns null if there are no defined Build Ids.
-
allSets
public java.util.List<WorkerBuildIdVersionSets.CompatibleSet> allSets()
- Returns:
- All compatible sets for the queue. The last set in the list is the overall default.
-
-