org.drools.lang
Enum DroolsParaphraseTypes
java.lang.Object
java.lang.Enum<DroolsParaphraseTypes>
org.drools.lang.DroolsParaphraseTypes
- All Implemented Interfaces:
- Serializable, Comparable<DroolsParaphraseTypes>
public enum DroolsParaphraseTypes
- extends Enum<DroolsParaphraseTypes>
Simple enum to identify a paraphrase type. This enum is used to better format
error messages during parsing.
PACKAGE
public static final DroolsParaphraseTypes PACKAGE
IMPORT
public static final DroolsParaphraseTypes IMPORT
FUNCTION_IMPORT
public static final DroolsParaphraseTypes FUNCTION_IMPORT
GLOBAL
public static final DroolsParaphraseTypes GLOBAL
FUNCTION
public static final DroolsParaphraseTypes FUNCTION
QUERY
public static final DroolsParaphraseTypes QUERY
TEMPLATE
public static final DroolsParaphraseTypes TEMPLATE
RULE
public static final DroolsParaphraseTypes RULE
RULE_ATTRIBUTE
public static final DroolsParaphraseTypes RULE_ATTRIBUTE
PATTERN
public static final DroolsParaphraseTypes PATTERN
TYPE_DECLARE
public static final DroolsParaphraseTypes TYPE_DECLARE
EVAL
public static final DroolsParaphraseTypes EVAL
values
public static DroolsParaphraseTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DroolsParaphraseTypes c : DroolsParaphraseTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DroolsParaphraseTypes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.