|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GuardEnum>
com.espertech.esper.pattern.guard.GuardEnum
public enum GuardEnum
Enum for all build-in guards.
Enum Constant Summary | |
---|---|
TIMER_WITHIN
Timer guard. |
|
TIMER_WITHINMAX
|
|
WHILE_GUARD
|
Method Summary | |
---|---|
static GuardEnum |
forName(java.lang.String namespace,
java.lang.String name)
Returns the enum for the given namespace and name. |
java.lang.Class |
getClazz()
Gets the implementation class. |
java.lang.String |
getName()
Returns name. |
java.lang.String |
getNamespace()
Returns the namespace name. |
static boolean |
isWhile(java.lang.String namespace,
java.lang.String name)
|
static GuardEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GuardEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GuardEnum TIMER_WITHIN
public static final GuardEnum TIMER_WITHINMAX
public static final GuardEnum WHILE_GUARD
Method Detail |
---|
public static GuardEnum[] values()
for (GuardEnum c : GuardEnum.values()) System.out.println(c);
public static GuardEnum 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getNamespace()
public java.lang.String getName()
public java.lang.Class getClazz()
public static GuardEnum forName(java.lang.String namespace, java.lang.String name)
namespace
- - guard namespacename
- - guard name
public static boolean isWhile(java.lang.String namespace, java.lang.String name)
|
© 2006-2015 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 |