public enum WebsiteType extends java.lang.Enum<WebsiteType>
| Enum Constant and Description |
|---|
BLOG
blog
|
HOME
home
|
OTHER
other
|
PROFILE
profile
|
UNEXPECTED_VALUE
For WebsiteType values that were not expected from the service
|
WORK
work
|
| Modifier and Type | Method and Description |
|---|---|
static WebsiteType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebsiteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebsiteType OTHER
public static final WebsiteType HOME
public static final WebsiteType WORK
public static final WebsiteType BLOG
public static final WebsiteType PROFILE
public static final WebsiteType UNEXPECTED_VALUE
public static WebsiteType[] values()
for (WebsiteType c : WebsiteType.values()) System.out.println(c);
public static WebsiteType 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