Enum ProcessedType
- java.lang.Object
-
- java.lang.Enum<ProcessedType>
-
- com.dulanywebsite.sharedresources.enums.ProcessedType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ProcessedType>
public enum ProcessedType extends java.lang.Enum<ProcessedType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDCLOSEEMAILENDEMAILNONEOVERSTARTEMAIL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessedTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProcessedType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ProcessedType NONE
-
STARTEMAIL
public static final ProcessedType STARTEMAIL
-
CLOSEEMAIL
public static final ProcessedType CLOSEEMAIL
-
CLOSED
public static final ProcessedType CLOSED
-
ENDEMAIL
public static final ProcessedType ENDEMAIL
-
OVER
public static final ProcessedType OVER
-
-
Method Detail
-
values
public static ProcessedType[] 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 (ProcessedType c : ProcessedType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessedType 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
-
-