Package com.uc4.api
Enum TaskFilter.TimeFrame
- java.lang.Object
-
- java.lang.Enum<TaskFilter.TimeFrame>
-
- com.uc4.api.TaskFilter.TimeFrame
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TaskFilter.TimeFrame>
- Enclosing class:
- TaskFilter
public static enum TaskFilter.TimeFrame extends java.lang.Enum<TaskFilter.TimeFrame>
TimeFrame for the activation filter.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskFilter.TimeFrame
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TaskFilter.TimeFrame[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final TaskFilter.TimeFrame ALL
All.
-
LASTHOUR
public static final TaskFilter.TimeFrame LASTHOUR
Last hour.
-
LAST24HOURS
public static final TaskFilter.TimeFrame LAST24HOURS
Last 24 hour.
-
LAST7DAYS
public static final TaskFilter.TimeFrame LAST7DAYS
Last 7 days.
-
LAST
public static final TaskFilter.TimeFrame LAST
Last ... .
-
BEFORE
public static final TaskFilter.TimeFrame BEFORE
Before.
-
AFTER
public static final TaskFilter.TimeFrame AFTER
After.
-
BETWEEN
public static final TaskFilter.TimeFrame BETWEEN
Between.
-
-
Method Detail
-
values
public static TaskFilter.TimeFrame[] 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 (TaskFilter.TimeFrame c : TaskFilter.TimeFrame.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskFilter.TimeFrame 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
-
-