public static enum Constants.PresenceStates extends java.lang.Enum<Constants.PresenceStates>
Enum Constant and Description |
---|
AWAY
presence state for status open and activity away
|
AWAY_OFFLINE
presence state for status closed and activity away
|
BUSY
presence state for status closed and activity busy
|
BUSY_ONLINE
presence state for status open, activity busy and note be right back
|
CONNECTED
presence state for status open and activity unknown
|
ON_THE_PHONE
presence state for status open and activity on the phone
|
ON_THE_PHONE_OFFLINE
presence state for status closed and activity on the phone
|
ON_VACATION
presence state for status closed and activity vacation
|
ON_VACATION_ONLINE
presence state for status open, activity vacation
|
OUT_TO_LUNCH
presence state for status open and activity lunch
|
OUT_TO_LUNCH_OFFLINE
presence state for status closed and activity lunch
|
UNAVAILABLE
presence state for status closed and activity unknown
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivity() |
java.lang.String |
getNote() |
java.lang.String |
getStatus() |
void |
setNote(java.lang.String note) |
static Constants.PresenceStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.PresenceStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.PresenceStates CONNECTED
public static final Constants.PresenceStates AWAY
public static final Constants.PresenceStates OUT_TO_LUNCH
public static final Constants.PresenceStates ON_VACATION_ONLINE
public static final Constants.PresenceStates BUSY_ONLINE
public static final Constants.PresenceStates ON_THE_PHONE
public static final Constants.PresenceStates UNAVAILABLE
public static final Constants.PresenceStates BUSY
public static final Constants.PresenceStates ON_VACATION
public static final Constants.PresenceStates OUT_TO_LUNCH_OFFLINE
public static final Constants.PresenceStates ON_THE_PHONE_OFFLINE
public static final Constants.PresenceStates AWAY_OFFLINE
public static Constants.PresenceStates[] values()
for (Constants.PresenceStates c : Constants.PresenceStates.values()) System.out.println(c);
public static Constants.PresenceStates 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 nullpublic void setNote(java.lang.String note)
public java.lang.String getStatus()
public java.lang.String getActivity()
public java.lang.String getNote()