@API(status=STABLE) public enum PresenceStatus extends java.lang.Enum<PresenceStatus>
Enum Constant and Description |
---|
AVAILABLE |
AWAY |
BE_RIGHT_BACK |
BUSY |
IN_A_MEETING |
OFF_WORK |
ON_THE_PHONE |
OUT_OF_OFFICE |
Modifier and Type | Method and Description |
---|---|
static PresenceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresenceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceStatus AVAILABLE
public static final PresenceStatus BUSY
public static final PresenceStatus AWAY
public static final PresenceStatus ON_THE_PHONE
public static final PresenceStatus BE_RIGHT_BACK
public static final PresenceStatus IN_A_MEETING
public static final PresenceStatus OUT_OF_OFFICE
public static final PresenceStatus OFF_WORK
public static PresenceStatus[] values()
for (PresenceStatus c : PresenceStatus.values()) System.out.println(c);
public static PresenceStatus 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