public static enum FacebookGroup.Privacy extends java.lang.Enum<FacebookGroup.Privacy>
Enum Constant and Description |
---|
CLOSED
group is closed
|
OPEN
group is open
|
SECRET
group is not publicly visible
|
Modifier and Type | Method and Description |
---|---|
static FacebookGroup.Privacy |
fromPrivacyString(java.lang.String privacy) |
java.lang.String |
toPrivacyString() |
static FacebookGroup.Privacy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacebookGroup.Privacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacebookGroup.Privacy OPEN
public static final FacebookGroup.Privacy CLOSED
public static final FacebookGroup.Privacy SECRET
public static FacebookGroup.Privacy[] values()
for (FacebookGroup.Privacy c : FacebookGroup.Privacy.values()) System.out.println(c);
public static FacebookGroup.Privacy 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 java.lang.String toPrivacyString()
public static FacebookGroup.Privacy fromPrivacyString(java.lang.String privacy)
privacy
- Copyright © 2015 Tampere University of Technology, Pori Department.