Package io.thestencil.persistence.api
Enum ZoePersistence.SiteContentType
- java.lang.Object
-
- java.lang.Enum<ZoePersistence.SiteContentType>
-
- io.thestencil.persistence.api.ZoePersistence.SiteContentType
-
- All Implemented Interfaces:
Serializable,Comparable<ZoePersistence.SiteContentType>
- Enclosing interface:
- ZoePersistence
public static enum ZoePersistence.SiteContentType extends Enum<ZoePersistence.SiteContentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTYERRORSNOT_CREATEDOKRELEASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZoePersistence.SiteContentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ZoePersistence.SiteContentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ZoePersistence.SiteContentType OK
-
ERRORS
public static final ZoePersistence.SiteContentType ERRORS
-
NOT_CREATED
public static final ZoePersistence.SiteContentType NOT_CREATED
-
EMPTY
public static final ZoePersistence.SiteContentType EMPTY
-
RELEASE
public static final ZoePersistence.SiteContentType RELEASE
-
-
Method Detail
-
values
public static ZoePersistence.SiteContentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZoePersistence.SiteContentType c : ZoePersistence.SiteContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZoePersistence.SiteContentType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-