public enum ObserverEnum extends java.lang.Enum<ObserverEnum>
Enum Constant and Description |
---|
TIMER_CRON
Observer for 'at' (crontab) observation of timer events.
|
TIMER_INTERVAL
Observer for letting pass/waiting an interval amount of time.
|
TIMER_ISO8601
Observer for iso8601 date observation of timer events.
|
Modifier and Type | Method and Description |
---|---|
static ObserverEnum |
forName(java.lang.String namespace,
java.lang.String name)
Returns observer enum for namespace name and observer name.
|
java.lang.Class |
getClazz()
Gets the implementation class.
|
java.lang.String |
getName()
Returns name.
|
java.lang.String |
getNamespace()
Returns the observer namespace name.
|
static ObserverEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObserverEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObserverEnum TIMER_INTERVAL
public static final ObserverEnum TIMER_CRON
public static final ObserverEnum TIMER_ISO8601
public static ObserverEnum[] values()
for (ObserverEnum c : ObserverEnum.values()) System.out.println(c);
public static ObserverEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getNamespace()
public java.lang.String getName()
public java.lang.Class getClazz()
public static ObserverEnum forName(java.lang.String namespace, java.lang.String name)
namespace
- - namespace namename
- - observer name