public static enum TimerUtils.TIMER_TYPE extends Enum<TimerUtils.TIMER_TYPE>
Enum Constant and Description |
---|
AFTER_SUNRISE |
AFTER_SUNSET |
BEFORE_SUNRISE |
BEFORE_SUNSET |
CRON |
NORMAL |
SIMPLE |
Modifier and Type | Method and Description |
---|---|
static TimerUtils.TIMER_TYPE |
fromString(String text) |
static TimerUtils.TIMER_TYPE |
get(int id) |
String |
getText() |
static TimerUtils.TIMER_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimerUtils.TIMER_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimerUtils.TIMER_TYPE SIMPLE
public static final TimerUtils.TIMER_TYPE NORMAL
public static final TimerUtils.TIMER_TYPE CRON
public static final TimerUtils.TIMER_TYPE BEFORE_SUNRISE
public static final TimerUtils.TIMER_TYPE AFTER_SUNRISE
public static final TimerUtils.TIMER_TYPE BEFORE_SUNSET
public static final TimerUtils.TIMER_TYPE AFTER_SUNSET
public static TimerUtils.TIMER_TYPE[] values()
for (TimerUtils.TIMER_TYPE c : TimerUtils.TIMER_TYPE.values()) System.out.println(c);
public static TimerUtils.TIMER_TYPE 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 nullpublic static TimerUtils.TIMER_TYPE get(int id)
public String getText()
public static TimerUtils.TIMER_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.