org.drools.lang.dsl
Enum DSLMappingEntry.Section

java.lang.Object
  extended by java.lang.Enum<DSLMappingEntry.Section>
      extended by org.drools.lang.dsl.DSLMappingEntry.Section
All Implemented Interfaces:
Serializable, Comparable<DSLMappingEntry.Section>
Enclosing interface:
DSLMappingEntry

public static enum DSLMappingEntry.Section
extends Enum<DSLMappingEntry.Section>

An enum for the sections


Enum Constant Summary
ANY
           
CONDITION
           
CONSEQUENCE
           
KEYWORD
           
 
Method Summary
 String getSymbol()
           
static DSLMappingEntry.Section valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DSLMappingEntry.Section[] 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

KEYWORD

public static final DSLMappingEntry.Section KEYWORD

CONDITION

public static final DSLMappingEntry.Section CONDITION

CONSEQUENCE

public static final DSLMappingEntry.Section CONSEQUENCE

ANY

public static final DSLMappingEntry.Section ANY
Method Detail

values

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

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

valueOf

public static DSLMappingEntry.Section 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

getSymbol

public String getSymbol()


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.