public enum SiteExtensionType extends Enum<SiteExtensionType>
| Enum Constant and Description |
|---|
GALLERY
Enum value Gallery.
|
WEB_ROOT
Enum value WebRoot.
|
| Modifier and Type | Method and Description |
|---|---|
static SiteExtensionType |
fromString(String value)
Parses a serialized value to a SiteExtensionType instance.
|
String |
toString() |
static SiteExtensionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiteExtensionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteExtensionType GALLERY
public static final SiteExtensionType WEB_ROOT
public static SiteExtensionType[] values()
for (SiteExtensionType c : SiteExtensionType.values()) System.out.println(c);
public static SiteExtensionType 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 static SiteExtensionType fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<SiteExtensionType>Copyright © 2019. All rights reserved.