Uses of Enum Class
cloud.opencode.base.flow.model.TaskOutcome
Packages that use TaskOutcome
Package
Description
Domain models for the flow engine (immutable records).
Optional observability integration — v4 §9.1.
-
Uses of TaskOutcome in cloud.opencode.base.flow.model
Subclasses with type arguments of type TaskOutcome in cloud.opencode.base.flow.modelMethods in cloud.opencode.base.flow.model that return TaskOutcomeModifier and TypeMethodDescriptionTask.outcome()Returns the value of theoutcomerecord component.static TaskOutcomeReturns the enum constant of this class with the specified name.static TaskOutcome[]TaskOutcome.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in cloud.opencode.base.flow.model with parameters of type TaskOutcomeModifierConstructorDescriptionTask(String id, String instanceId, String stepId, String assigneeId, TaskStatus status, TaskOutcome outcome, int lockVersion, Instant createdAt, Instant finishedAt) Compact constructor; validates required fields. -
Uses of TaskOutcome in cloud.opencode.base.flow.observability
Methods in cloud.opencode.base.flow.observability with parameters of type TaskOutcomeModifier and TypeMethodDescriptionvoidBaseObservabilityFlowMetrics.recordTaskCompleted(String flowKey, String stepId, TaskOutcome outcome) voidFlowMetrics.recordTaskCompleted(String flowKey, String stepId, TaskOutcome outcome) Records that a task has been completed (approved / rejected / canceled).voidNoOpFlowMetrics.recordTaskCompleted(String flowKey, String stepId, TaskOutcome outcome)