public enum SiteType extends Enum<SiteType>
Modifier and Type | Method and Description |
---|---|
static SiteType |
forName(String name) |
String |
getName() |
static SiteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteType SITE
public static final SiteType SPACE
public static final SiteType DASHBOARD
public static SiteType[] values()
for (SiteType c : SiteType.values()) System.out.println(c);
public static SiteType 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 getName()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.