Uses of Class
co.yellowdog.platform.model.Worker.Builder
Packages that use Worker.Builder
Package
Description
Provides the types that define the YellowDog Platform data model.
-
Uses of Worker.Builder in co.yellowdog.platform.model
Methods in co.yellowdog.platform.model that return Worker.BuilderModifier and TypeMethodDescriptionstatic Worker.Builder
Worker.builder()
Worker.Builder.claimCount
(int claimCount) A count of the tasks groups which have claims on the worker.Worker.Builder.currentTaskId
(String currentTaskId) The ID of the task currently allocated to the worker.Worker.Builder.exclusive
(boolean exclusive) Indicates if the worker is exclusively claimed by a single task group.Worker.Builder.registeredTime
(Instant registeredTime) The time at which the worker was registered.Worker.Builder.status
(WorkerStatus status) The status of the worker.Worker.Builder.taskGroupIds
(List<String> taskGroupIds) The IDs of the task groups which have claims on the worker.