Enum CisEmailPreference
- java.lang.Object
-
- java.lang.Enum<CisEmailPreference>
-
- de.hybris.platform.cissubscription.data.CisEmailPreference
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CisEmailPreference>
public enum CisEmailPreference extends java.lang.Enum<CisEmailPreference>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTMLGenerated enum value forCisEmailPreference.HTMLvalue defined at extensioncissubscription.MULTIPARTGenerated enum value forCisEmailPreference.MULTIPARTvalue defined at extensioncissubscription.PLAINTEXTGenerated enum value forCisEmailPreference.PLAINTEXTvalue defined at extensioncissubscription.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CisEmailPreferencevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CisEmailPreference[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAINTEXT
public static final CisEmailPreference PLAINTEXT
Generated enum value forCisEmailPreference.PLAINTEXTvalue defined at extensioncissubscription.
-
HTML
public static final CisEmailPreference HTML
Generated enum value forCisEmailPreference.HTMLvalue defined at extensioncissubscription.
-
MULTIPART
public static final CisEmailPreference MULTIPART
Generated enum value forCisEmailPreference.MULTIPARTvalue defined at extensioncissubscription.
-
-
Method Detail
-
values
public static CisEmailPreference[] 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 (CisEmailPreference c : CisEmailPreference.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CisEmailPreference valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-