RunStepStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. persistent. models. RunStepStatus
- com.
- com.
public final class RunStepStatus
extends ExpandableStringEnum<RunStepStatus>
Possible values for the status of a run step.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Run |
CANCELLED
Represents a run step that was cancelled. |
|
static final
Run |
COMPLETED
Represents a run step that successfully completed. |
|
static final
Run |
EXPIRED
Represents a run step that expired before otherwise finishing. |
|
static final
Run |
FAILED
Represents a run step that failed. |
|
static final
Run |
IN_PROGRESS
Represents a run step still in progress. |
Constructor Summary
| Constructor | Description |
|---|---|
| RunStepStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Run |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Run |
fromString(String name)
Creates or finds a Run |
|
static
Collection<Run |
values()
Gets known Run |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CANCELLED
public static final RunStepStatus CANCELLED
Represents a run step that was cancelled.
COMPLETED
public static final RunStepStatus COMPLETED
Represents a run step that successfully completed.
EXPIRED
public static final RunStepStatus EXPIRED
Represents a run step that expired before otherwise finishing.
FAILED
public static final RunStepStatus FAILED
Represents a run step that failed.
IN_PROGRESS
public static final RunStepStatus IN_PROGRESS
Represents a run step still in progress.
Constructor Details
RunStepStatus
@Deprecated
public RunStepStatus()
Deprecated
Creates a new instance of RunStepStatus value.
Method Details
fromString
public static RunStepStatus fromString(String name)
Creates or finds a RunStepStatus from its string representation.
Parameters:
Returns:
values
public static Collection<RunStepStatus> values()
Gets known RunStepStatus values.
Returns: