public static enum Event.Privacy extends Enum<Event.Privacy>
Modifier and Type | Method and Description |
---|---|
static Event.Privacy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.Privacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Privacy OPEN
public static final Event.Privacy SECRET
public static final Event.Privacy CLOSED
public static final Event.Privacy FRIENDS
public static Event.Privacy[] values()
for (Event.Privacy c : Event.Privacy.values()) System.out.println(c);
public static Event.Privacy 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 null