public static enum TaskRun.ExpectedDurationUnit extends Enum<TaskRun.ExpectedDurationUnit> implements BmcEnum
The expected duration unit of measure.
Enum Constant and Description |
---|
Days |
Hours |
Minutes |
Seconds |
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.ExpectedDurationUnit |
create(String key) |
String |
getValue() |
static TaskRun.ExpectedDurationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskRun.ExpectedDurationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRun.ExpectedDurationUnit Seconds
public static final TaskRun.ExpectedDurationUnit Minutes
public static final TaskRun.ExpectedDurationUnit Hours
public static final TaskRun.ExpectedDurationUnit Days
public static final TaskRun.ExpectedDurationUnit UnknownEnumValue
public static TaskRun.ExpectedDurationUnit[] values()
for (TaskRun.ExpectedDurationUnit c : TaskRun.ExpectedDurationUnit.values()) System.out.println(c);
public static TaskRun.ExpectedDurationUnit 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.ExpectedDurationUnit create(String key)
Copyright © 2016–2024. All rights reserved.