Enum UserGeneratedContentService.CONTENT_TYPE
- java.lang.Object
-
- java.lang.Enum<UserGeneratedContentService.CONTENT_TYPE>
-
- org.apache.sling.cms.usergenerated.UserGeneratedContentService.CONTENT_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<UserGeneratedContentService.CONTENT_TYPE>
- Enclosing interface:
- UserGeneratedContentService
public static enum UserGeneratedContentService.CONTENT_TYPE extends Enum<UserGeneratedContentService.CONTENT_TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOG_POST
COMMENT
CONTACT_FORM
FORUM_POST
MESSAGE
OTHER
REPLY
SIGNUP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserGeneratedContentService.CONTENT_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserGeneratedContentService.CONTENT_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMENT
public static final UserGeneratedContentService.CONTENT_TYPE COMMENT
-
FORUM_POST
public static final UserGeneratedContentService.CONTENT_TYPE FORUM_POST
-
REPLY
public static final UserGeneratedContentService.CONTENT_TYPE REPLY
-
BLOG_POST
public static final UserGeneratedContentService.CONTENT_TYPE BLOG_POST
-
CONTACT_FORM
public static final UserGeneratedContentService.CONTENT_TYPE CONTACT_FORM
-
SIGNUP
public static final UserGeneratedContentService.CONTENT_TYPE SIGNUP
-
MESSAGE
public static final UserGeneratedContentService.CONTENT_TYPE MESSAGE
-
OTHER
public static final UserGeneratedContentService.CONTENT_TYPE OTHER
-
-
Method Detail
-
values
public static UserGeneratedContentService.CONTENT_TYPE[] 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 (UserGeneratedContentService.CONTENT_TYPE c : UserGeneratedContentService.CONTENT_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserGeneratedContentService.CONTENT_TYPE 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
-
-