org.drools.analytics.components
Enum AnalyticsComponentType

java.lang.Object
  extended by java.lang.Enum<AnalyticsComponentType>
      extended by org.drools.analytics.components.AnalyticsComponentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AnalyticsComponentType>

public enum AnalyticsComponentType
extends java.lang.Enum<AnalyticsComponentType>

Author:
Toni Rikkola

Enum Constant Summary
ACCESSOR
           
ACCUMULATE
           
CLASS
           
COLLECT
           
CONSTRAINT
           
EVAL
           
FIELD
           
FIELD_ACCESSOR
           
FIELD_CLASS_LINK
           
FROM
           
FUNCTION_CALL
           
METHOD_ACCESSOR
           
NOTHING
           
OPERATOR
           
PATTERN
           
PATTERN_POSSIBILITY
           
PREDICATE
           
RESTRICTION
           
RULE
           
RULE_PACKAGE
           
RULE_POSSIBILITY
           
VARIABLE
           
 
Method Summary
static AnalyticsComponentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AnalyticsComponentType[] 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

NOTHING

public static final AnalyticsComponentType NOTHING

CLASS

public static final AnalyticsComponentType CLASS

FIELD

public static final AnalyticsComponentType FIELD

RULE

public static final AnalyticsComponentType RULE

CONSTRAINT

public static final AnalyticsComponentType CONSTRAINT

VARIABLE

public static final AnalyticsComponentType VARIABLE

PATTERN

public static final AnalyticsComponentType PATTERN

PATTERN_POSSIBILITY

public static final AnalyticsComponentType PATTERN_POSSIBILITY

RULE_POSSIBILITY

public static final AnalyticsComponentType RULE_POSSIBILITY

RESTRICTION

public static final AnalyticsComponentType RESTRICTION

OPERATOR

public static final AnalyticsComponentType OPERATOR

FIELD_CLASS_LINK

public static final AnalyticsComponentType FIELD_CLASS_LINK

COLLECT

public static final AnalyticsComponentType COLLECT

ACCUMULATE

public static final AnalyticsComponentType ACCUMULATE

FROM

public static final AnalyticsComponentType FROM

EVAL

public static final AnalyticsComponentType EVAL

PREDICATE

public static final AnalyticsComponentType PREDICATE

METHOD_ACCESSOR

public static final AnalyticsComponentType METHOD_ACCESSOR

FIELD_ACCESSOR

public static final AnalyticsComponentType FIELD_ACCESSOR

FUNCTION_CALL

public static final AnalyticsComponentType FUNCTION_CALL

ACCESSOR

public static final AnalyticsComponentType ACCESSOR

RULE_PACKAGE

public static final AnalyticsComponentType RULE_PACKAGE
Method Detail

values

public static AnalyticsComponentType[] 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 (AnalyticsComponentType c : AnalyticsComponentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AnalyticsComponentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null