Package org.exoplatform.task.util
Enum TaskUtil.DUE
- java.lang.Object
-
- java.lang.Enum<TaskUtil.DUE>
-
- org.exoplatform.task.util.TaskUtil.DUE
-
- All Implemented Interfaces:
Serializable,Comparable<TaskUtil.DUE>
- Enclosing class:
- TaskUtil
public static enum TaskUtil.DUE extends Enum<TaskUtil.DUE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskUtil.DUEvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskUtil.DUE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERDUE
public static final TaskUtil.DUE OVERDUE
-
TODAY
public static final TaskUtil.DUE TODAY
-
TOMORROW
public static final TaskUtil.DUE TOMORROW
-
UPCOMING
public static final TaskUtil.DUE UPCOMING
-
-
Method Detail
-
values
public static TaskUtil.DUE[] 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 (TaskUtil.DUE c : TaskUtil.DUE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskUtil.DUE 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
-
-