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