public static enum TaskRun.Status extends Enum<TaskRun.Status> implements BmcEnum
The status of the task run.
Enum Constant and Description |
---|
Error |
NotStarted |
Queued |
Running |
Success |
Terminated |
Terminating |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static TaskRun.Status |
create(String key) |
String |
getValue() |
static TaskRun.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskRun.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRun.Status NotStarted
public static final TaskRun.Status Queued
public static final TaskRun.Status Running
public static final TaskRun.Status Terminating
public static final TaskRun.Status Terminated
public static final TaskRun.Status Success
public static final TaskRun.Status Error
public static final TaskRun.Status UnknownEnumValue
public static TaskRun.Status[] values()
for (TaskRun.Status c : TaskRun.Status.values()) System.out.println(c);
public static TaskRun.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TaskRun.Status create(String key)
Copyright © 2016–2024. All rights reserved.