TaskStatusUpdateEventBuilder

DSL builder for TaskStatusUpdateEvent.

Example usage:

val event = taskStatusUpdateEvent {
id = myTaskId
status = TaskStatus.COMPLETED
final = true
metadata = someMetadata
}

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
var id: TaskId?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Sets the task ID.

Link copied to clipboard

Sets the final status flag.

Link copied to clipboard

Sets the metadata.

Link copied to clipboard

Sets the task status directly.

Configures the task status using a Java-friendly Consumer.

Configures the task status using a DSL.