public enum DroolsSentenceType extends Enum<DroolsSentenceType>
DroolsSentence
Enum Constant and Description |
---|
ACCUMULATE_IMPORT_STATEMENT |
ENTRYPOINT_DECLARATION |
ENUM_DECLARATION |
EVAL |
FUNCTION |
FUNCTION_IMPORT_STATEMENT |
GLOBAL |
IMPORT_STATEMENT |
PACKAGE |
QUERY |
RULE |
TEMPLATE |
TYPE_DECLARATION |
WINDOW_DECLARATION |
Modifier and Type | Method and Description |
---|---|
static DroolsSentenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DroolsSentenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DroolsSentenceType PACKAGE
public static final DroolsSentenceType FUNCTION_IMPORT_STATEMENT
public static final DroolsSentenceType ACCUMULATE_IMPORT_STATEMENT
public static final DroolsSentenceType IMPORT_STATEMENT
public static final DroolsSentenceType GLOBAL
public static final DroolsSentenceType FUNCTION
public static final DroolsSentenceType TEMPLATE
public static final DroolsSentenceType TYPE_DECLARATION
public static final DroolsSentenceType RULE
public static final DroolsSentenceType QUERY
public static final DroolsSentenceType EVAL
public static final DroolsSentenceType ENTRYPOINT_DECLARATION
public static final DroolsSentenceType WINDOW_DECLARATION
public static final DroolsSentenceType ENUM_DECLARATION
public static DroolsSentenceType[] values()
for (DroolsSentenceType c : DroolsSentenceType.values()) System.out.println(c);
public static DroolsSentenceType 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 © 2001-2015 JBoss by Red Hat. All Rights Reserved.