org.apache.oozie.client
Enum CoordinatorJob.Timeunit
java.lang.Object
java.lang.Enum<CoordinatorJob.Timeunit>
org.apache.oozie.client.CoordinatorJob.Timeunit
- All Implemented Interfaces:
- Serializable, Comparable<CoordinatorJob.Timeunit>
- Enclosing interface:
- CoordinatorJob
public static enum CoordinatorJob.Timeunit
- extends Enum<CoordinatorJob.Timeunit>
Defines the possible frequency unit of an Oozie application.
MINUTE
public static final CoordinatorJob.Timeunit MINUTE
HOUR
public static final CoordinatorJob.Timeunit HOUR
DAY
public static final CoordinatorJob.Timeunit DAY
WEEK
public static final CoordinatorJob.Timeunit WEEK
MONTH
public static final CoordinatorJob.Timeunit MONTH
END_OF_DAY
public static final CoordinatorJob.Timeunit END_OF_DAY
END_OF_MONTH
public static final CoordinatorJob.Timeunit END_OF_MONTH
NONE
public static final CoordinatorJob.Timeunit NONE
values
public static CoordinatorJob.Timeunit[] 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 (CoordinatorJob.Timeunit c : CoordinatorJob.Timeunit.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CoordinatorJob.Timeunit 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 name
NullPointerException
- if the argument is null
Copyright © 2013 Apache Software Foundation. All Rights Reserved.