Class RunStepStreamEvent
-
- All Implemented Interfaces:
public final class RunStepStreamEvent
Occurs when a run step is created.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RunStepStreamEvent.Visitor
public final class
RunStepStreamEvent.Deserializer
public final class
RunStepStreamEvent.Serializer
public final class
RunStepStreamEvent.ThreadRunStepCreated
Occurs when a run step is created.
public final class
RunStepStreamEvent.ThreadRunStepInProgress
Occurs when a run step moves to an
in_progress
state.public final class
RunStepStreamEvent.ThreadRunStepDelta
Occurs when parts of a run step are being streamed.
public final class
RunStepStreamEvent.ThreadRunStepCompleted
Occurs when a run step is completed.
public final class
RunStepStreamEvent.ThreadRunStepFailed
Occurs when a run step fails.
public final class
RunStepStreamEvent.ThreadRunStepCancelled
Occurs when a run step is cancelled.
public final class
RunStepStreamEvent.ThreadRunStepExpired
Occurs when a run step expires.
-
Method Summary
-
-
Method Detail
-
threadRunStepCreated
final Optional<RunStepStreamEvent.ThreadRunStepCreated> threadRunStepCreated()
Occurs when a run step is created.
-
threadRunStepInProgress
final Optional<RunStepStreamEvent.ThreadRunStepInProgress> threadRunStepInProgress()
Occurs when a run step moves to an
in_progress
state.
-
threadRunStepDelta
final Optional<RunStepStreamEvent.ThreadRunStepDelta> threadRunStepDelta()
Occurs when parts of a run step are being streamed.
-
threadRunStepCompleted
final Optional<RunStepStreamEvent.ThreadRunStepCompleted> threadRunStepCompleted()
Occurs when a run step is completed.
-
threadRunStepFailed
final Optional<RunStepStreamEvent.ThreadRunStepFailed> threadRunStepFailed()
Occurs when a run step fails.
-
threadRunStepCancelled
final Optional<RunStepStreamEvent.ThreadRunStepCancelled> threadRunStepCancelled()
Occurs when a run step is cancelled.
-
threadRunStepExpired
final Optional<RunStepStreamEvent.ThreadRunStepExpired> threadRunStepExpired()
Occurs when a run step expires.
-
isThreadRunStepCreated
final Boolean isThreadRunStepCreated()
-
isThreadRunStepInProgress
final Boolean isThreadRunStepInProgress()
-
isThreadRunStepDelta
final Boolean isThreadRunStepDelta()
-
isThreadRunStepCompleted
final Boolean isThreadRunStepCompleted()
-
isThreadRunStepFailed
final Boolean isThreadRunStepFailed()
-
isThreadRunStepCancelled
final Boolean isThreadRunStepCancelled()
-
isThreadRunStepExpired
final Boolean isThreadRunStepExpired()
-
asThreadRunStepCreated
final RunStepStreamEvent.ThreadRunStepCreated asThreadRunStepCreated()
Occurs when a run step is created.
-
asThreadRunStepInProgress
final RunStepStreamEvent.ThreadRunStepInProgress asThreadRunStepInProgress()
Occurs when a run step moves to an
in_progress
state.
-
asThreadRunStepDelta
final RunStepStreamEvent.ThreadRunStepDelta asThreadRunStepDelta()
Occurs when parts of a run step are being streamed.
-
asThreadRunStepCompleted
final RunStepStreamEvent.ThreadRunStepCompleted asThreadRunStepCompleted()
Occurs when a run step is completed.
-
asThreadRunStepFailed
final RunStepStreamEvent.ThreadRunStepFailed asThreadRunStepFailed()
Occurs when a run step fails.
-
asThreadRunStepCancelled
final RunStepStreamEvent.ThreadRunStepCancelled asThreadRunStepCancelled()
Occurs when a run step is cancelled.
-
asThreadRunStepExpired
final RunStepStreamEvent.ThreadRunStepExpired asThreadRunStepExpired()
Occurs when a run step expires.
-
accept
final <T extends Any> T accept(RunStepStreamEvent.Visitor<T> visitor)
-
validate
final RunStepStreamEvent validate()
-
ofThreadRunStepCreated
final static RunStepStreamEvent ofThreadRunStepCreated(RunStepStreamEvent.ThreadRunStepCreated threadRunStepCreated)
Occurs when a run step is created.
-
ofThreadRunStepInProgress
final static RunStepStreamEvent ofThreadRunStepInProgress(RunStepStreamEvent.ThreadRunStepInProgress threadRunStepInProgress)
Occurs when a run step moves to an
in_progress
state.
-
ofThreadRunStepDelta
final static RunStepStreamEvent ofThreadRunStepDelta(RunStepStreamEvent.ThreadRunStepDelta threadRunStepDelta)
Occurs when parts of a run step are being streamed.
-
ofThreadRunStepCompleted
final static RunStepStreamEvent ofThreadRunStepCompleted(RunStepStreamEvent.ThreadRunStepCompleted threadRunStepCompleted)
Occurs when a run step is completed.
-
ofThreadRunStepFailed
final static RunStepStreamEvent ofThreadRunStepFailed(RunStepStreamEvent.ThreadRunStepFailed threadRunStepFailed)
Occurs when a run step fails.
-
ofThreadRunStepCancelled
final static RunStepStreamEvent ofThreadRunStepCancelled(RunStepStreamEvent.ThreadRunStepCancelled threadRunStepCancelled)
Occurs when a run step is cancelled.
-
ofThreadRunStepExpired
final static RunStepStreamEvent ofThreadRunStepExpired(RunStepStreamEvent.ThreadRunStepExpired threadRunStepExpired)
Occurs when a run step expires.
-
-
-
-