org.botlibre.sdk.activity
Enum EmotionalState
java.lang.Object
java.lang.Enum<EmotionalState>
org.botlibre.sdk.activity.EmotionalState
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EmotionalState>
public enum EmotionalState
- extends java.lang.Enum<EmotionalState>
A convenience enum of different emotional states.
Method Summary |
static EmotionalState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EmotionalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final EmotionalState NONE
LOVE
public static final EmotionalState LOVE
LIKE
public static final EmotionalState LIKE
DISLIKE
public static final EmotionalState DISLIKE
HATE
public static final EmotionalState HATE
RAGE
public static final EmotionalState RAGE
ANGER
public static final EmotionalState ANGER
CALM
public static final EmotionalState CALM
SERENE
public static final EmotionalState SERENE
ECSTATIC
public static final EmotionalState ECSTATIC
HAPPY
public static final EmotionalState HAPPY
SAD
public static final EmotionalState SAD
CRYING
public static final EmotionalState CRYING
PANIC
public static final EmotionalState PANIC
AFRAID
public static final EmotionalState AFRAID
CONFIDENT
public static final EmotionalState CONFIDENT
COURAGEOUS
public static final EmotionalState COURAGEOUS
SURPRISE
public static final EmotionalState SURPRISE
BORED
public static final EmotionalState BORED
LAUGHTER
public static final EmotionalState LAUGHTER
SERIOUS
public static final EmotionalState SERIOUS
values
public static EmotionalState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EmotionalState c : EmotionalState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EmotionalState valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null