public enum PoolLifetimeOption extends Enum<PoolLifetimeOption>
Enum Constant and Description |
---|
JOB
Enum value job.
|
JOB_SCHEDULE
Enum value jobSchedule.
|
Modifier and Type | Method and Description |
---|---|
static PoolLifetimeOption |
fromString(String value)
Parses a serialized value to a PoolLifetimeOption instance.
|
String |
toString() |
static PoolLifetimeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolLifetimeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolLifetimeOption JOB_SCHEDULE
public static final PoolLifetimeOption JOB
public static PoolLifetimeOption[] values()
for (PoolLifetimeOption c : PoolLifetimeOption.values()) System.out.println(c);
public static PoolLifetimeOption 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 PoolLifetimeOption fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<PoolLifetimeOption>
Copyright © 2019. All rights reserved.