public enum TimeoutPolicy extends Enum<TimeoutPolicy>
Enum Constant and Description |
---|
CANCEL_ON_TIMEOUT
Job cancels on lock timeout
|
RUN_ON_TIMEOUT
Job executes on lock timeout
|
Modifier and Type | Method and Description |
---|---|
static TimeoutPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeoutPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeoutPolicy CANCEL_ON_TIMEOUT
public static final TimeoutPolicy RUN_ON_TIMEOUT
public static TimeoutPolicy[] values()
for (TimeoutPolicy c : TimeoutPolicy.values()) System.out.println(c);
public static TimeoutPolicy 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 nullCopyright © 2003–2020 Atlassian. All rights reserved.