public enum EscalationReason extends Enum<EscalationReason> implements Serializable
Enum Constant and Description |
---|
ESCALATED_BY_INTERRUPTION
Task was interrupted by a received signal.
|
ESCALATED_BY_TIMEOUT
Task was escalated by a timeout.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the escalation description.
|
static EscalationReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EscalationReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscalationReason ESCALATED_BY_TIMEOUT
public static final EscalationReason ESCALATED_BY_INTERRUPTION
public static EscalationReason[] values()
for (EscalationReason c : EscalationReason.values()) System.out.println(c);
public static EscalationReason 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 String getDescription()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.