public static enum CoordinatorJob.Timeunit extends Enum<CoordinatorJob.Timeunit>
| Enum Constant and Description |
|---|
CRON |
DAY |
END_OF_DAY |
END_OF_MONTH |
HOUR |
MINUTE |
MONTH |
NONE |
WEEK |
| Modifier and Type | Method and Description |
|---|---|
static CoordinatorJob.Timeunit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinatorJob.Timeunit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinatorJob.Timeunit MINUTE
public static final CoordinatorJob.Timeunit HOUR
public static final CoordinatorJob.Timeunit DAY
public static final CoordinatorJob.Timeunit WEEK
public static final CoordinatorJob.Timeunit MONTH
public static final CoordinatorJob.Timeunit END_OF_DAY
public static final CoordinatorJob.Timeunit END_OF_MONTH
public static final CoordinatorJob.Timeunit CRON
public static final CoordinatorJob.Timeunit NONE
public static CoordinatorJob.Timeunit[] values()
for (CoordinatorJob.Timeunit c : CoordinatorJob.Timeunit.values()) System.out.println(c);
public static CoordinatorJob.Timeunit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014 Apache Software Foundation. All Rights Reserved.