Enum BlockoutManagerUtil.TIME
- java.lang.Object
-
- java.lang.Enum<BlockoutManagerUtil.TIME>
-
- org.pentaho.platform.scheduler2.blockout.BlockoutManagerUtil.TIME
-
- All Implemented Interfaces:
Serializable
,Comparable<BlockoutManagerUtil.TIME>
- Enclosing class:
- BlockoutManagerUtil
public static enum BlockoutManagerUtil.TIME extends Enum<BlockoutManagerUtil.TIME>
Standard Units of Time
-
-
Field Summary
Fields Modifier and Type Field Description long
time
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockoutManagerUtil.TIME
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockoutManagerUtil.TIME[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MILLISECOND
public static final BlockoutManagerUtil.TIME MILLISECOND
-
SECOND
public static final BlockoutManagerUtil.TIME SECOND
-
MINUTE
public static final BlockoutManagerUtil.TIME MINUTE
-
HOUR
public static final BlockoutManagerUtil.TIME HOUR
-
DAY
public static final BlockoutManagerUtil.TIME DAY
-
WEEK
public static final BlockoutManagerUtil.TIME WEEK
-
YEAR
public static final BlockoutManagerUtil.TIME YEAR
-
-
Method Detail
-
values
public static BlockoutManagerUtil.TIME[] 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 (BlockoutManagerUtil.TIME c : BlockoutManagerUtil.TIME.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockoutManagerUtil.TIME 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
-
-