public static enum Presence.CategoryEnum extends Enum<Presence.CategoryEnum>
| Enum Constant and Description |
|---|
AVAILABLE |
AWAY |
BE_RIGHT_BACK |
BUSY |
DO_NOT_DISTURB |
OFFLINE |
ON_THE_PHONE |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static Presence.CategoryEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Presence.CategoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Presence.CategoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Presence.CategoryEnum UNDEFINED
public static final Presence.CategoryEnum AVAILABLE
public static final Presence.CategoryEnum BUSY
public static final Presence.CategoryEnum DO_NOT_DISTURB
public static final Presence.CategoryEnum ON_THE_PHONE
public static final Presence.CategoryEnum BE_RIGHT_BACK
public static final Presence.CategoryEnum AWAY
public static final Presence.CategoryEnum OFFLINE
public static Presence.CategoryEnum[] values()
for (Presence.CategoryEnum c : Presence.CategoryEnum.values()) System.out.println(c);
public static Presence.CategoryEnum 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 getValue()
public String toString()
toString in class Enum<Presence.CategoryEnum>public static Presence.CategoryEnum fromValue(String text)
Copyright © 2018 Symphony Software Foundation. All rights reserved.