|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ObserverEnum>
net.esper.pattern.observer.ObserverEnum
public enum ObserverEnum
Enum for all build-in observers.
Enum Constant Summary | |
---|---|
TIMER_CRON
Observer for 'at' (crontab) observation of timer events. |
|
TIMER_INTERVAL
Observer for letting pass/waiting an interval amount of time. |
Method Summary | |
---|---|
static ObserverEnum |
forName(String namespace,
String name)
Returns observer enum for namespace name and observer name. |
Class |
getClazz()
Gets the implementation class. |
String |
getName()
Returns name. |
String |
getNamespace()
Returns the observer namespace name. |
static ObserverEnum |
valueOf(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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ObserverEnum TIMER_INTERVAL
public static final ObserverEnum TIMER_CRON
Method Detail |
---|
public static final ObserverEnum[] values()
for(ObserverEnum c : ObserverEnum.values()) System.out.println(c);
public static ObserverEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getNamespace()
public String getName()
public Class getClazz()
public static ObserverEnum forName(String namespace, String name)
namespace
- - namespace namename
- - observer name
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |