public static enum Conference.Presence extends Enum<Conference.Presence>
Enum Constant and Description |
---|
AWAY
Away
|
BUSY
Bysy
|
OFFLINE
Offline
|
ONLINE
Online
|
Modifier and Type | Method and Description |
---|---|
static Conference.Presence |
fromString(String presence) |
String |
toString() |
static Conference.Presence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conference.Presence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conference.Presence ONLINE
public static final Conference.Presence AWAY
public static final Conference.Presence BUSY
public static final Conference.Presence OFFLINE
public static Conference.Presence[] values()
for (Conference.Presence c : Conference.Presence.values()) System.out.println(c);
public static Conference.Presence 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 toString()
toString
in class Enum<Conference.Presence>
public static Conference.Presence fromString(String presence)
Copyright © 2015. All rights reserved.