JobStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. models. JobStatus
- com.
- com.
public final class JobStatus
extends ExpandableStringEnum<JobStatus>
Extensible status values shared by Foundry jobs.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Job |
CANCELLED
Job was cancelled by the caller. |
|
static final
Job |
FAILED
Job failed. |
|
static final
Job |
IN_PROGRESS
Job is actively processing. |
|
static final
Job |
QUEUED
Job is waiting to start. |
|
static final
Job |
SUCCEEDED
Job completed successfully. |
Constructor Summary
| Constructor | Description |
|---|---|
| JobStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Job |
fromString(String name)
Creates or finds a Job |
|
static
Collection<Job |
values()
Gets known Job |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CANCELLED
public static final JobStatus CANCELLED
Job was cancelled by the caller.
FAILED
public static final JobStatus FAILED
Job failed.
IN_PROGRESS
public static final JobStatus IN_PROGRESS
Job is actively processing.
QUEUED
public static final JobStatus QUEUED
Job is waiting to start.
SUCCEEDED
public static final JobStatus SUCCEEDED
Job completed successfully.
Constructor Details
JobStatus
@Deprecated
public JobStatus()
Deprecated
Creates a new instance of JobStatus value.
Method Details
fromString
public static JobStatus fromString(String name)
Creates or finds a JobStatus from its string representation.
Parameters:
Returns:
values
public static Collection<JobStatus> values()
Gets known JobStatus values.
Returns: