public enum StressCompanionStressLevel extends java.lang.Enum<StressCompanionStressLevel>
Enum Constant and Description |
---|
HIGH
Do only interrupt the user if it is very important.
|
LOW
Interruption is allowed in any way.
|
NORMAL
Interrupt the user only if it is context based.
|
UNKNOWN
It could not be determined which stress level the user has.
|
VERY_HIGH
Do not interrupt the user in any way.
|
Modifier and Type | Method and Description |
---|---|
static StressCompanionStressLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StressCompanionStressLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StressCompanionStressLevel VERY_HIGH
public static final StressCompanionStressLevel HIGH
public static final StressCompanionStressLevel NORMAL
public static final StressCompanionStressLevel LOW
public static final StressCompanionStressLevel UNKNOWN
public static StressCompanionStressLevel[] values()
for (StressCompanionStressLevel c : StressCompanionStressLevel.values()) System.out.println(c);
public static StressCompanionStressLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null