Enum DigestTemplate.ElementType
- java.lang.Object
-
- java.lang.Enum<DigestTemplate.ElementType>
-
- org.exoplatform.commons.notification.template.DigestTemplate.ElementType
-
- All Implemented Interfaces:
Serializable,Comparable<DigestTemplate.ElementType>
- Enclosing class:
- DigestTemplate
public static enum DigestTemplate.ElementType extends Enum<DigestTemplate.ElementType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGEST_MOREDIGEST_ONEDIGEST_THREE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static DigestTemplate.ElementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DigestTemplate.ElementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIGEST_ONE
public static final DigestTemplate.ElementType DIGEST_ONE
-
DIGEST_THREE
public static final DigestTemplate.ElementType DIGEST_THREE
-
DIGEST_MORE
public static final DigestTemplate.ElementType DIGEST_MORE
-
-
Method Detail
-
values
public static DigestTemplate.ElementType[] 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 (DigestTemplate.ElementType c : DigestTemplate.ElementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigestTemplate.ElementType 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
-
getValue
public int getValue()
-
-