org.drools.rule.builder.dialect.java.parser
Enum JavaBlockDescr.BlockType

java.lang.Object
  extended by java.lang.Enum<JavaBlockDescr.BlockType>
      extended by org.drools.rule.builder.dialect.java.parser.JavaBlockDescr.BlockType
All Implemented Interfaces:
Serializable, Comparable<JavaBlockDescr.BlockType>
Enclosing interface:
JavaBlockDescr

public static enum JavaBlockDescr.BlockType
extends Enum<JavaBlockDescr.BlockType>


Enum Constant Summary
CATCH
           
CHANNEL
           
ELSE
           
ENTRY
           
EXIT
           
FINAL
           
FOR
           
IF
           
MODIFY
           
RETRACT
           
SWITCH
           
THROW
           
TRY
           
UPDATE
           
WHILE
           
 
Method Summary
static JavaBlockDescr.BlockType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JavaBlockDescr.BlockType[] 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

MODIFY

public static final JavaBlockDescr.BlockType MODIFY

UPDATE

public static final JavaBlockDescr.BlockType UPDATE

RETRACT

public static final JavaBlockDescr.BlockType RETRACT

ENTRY

public static final JavaBlockDescr.BlockType ENTRY

EXIT

public static final JavaBlockDescr.BlockType EXIT

CHANNEL

public static final JavaBlockDescr.BlockType CHANNEL

TRY

public static final JavaBlockDescr.BlockType TRY

CATCH

public static final JavaBlockDescr.BlockType CATCH

FINAL

public static final JavaBlockDescr.BlockType FINAL

IF

public static final JavaBlockDescr.BlockType IF

ELSE

public static final JavaBlockDescr.BlockType ELSE

FOR

public static final JavaBlockDescr.BlockType FOR

SWITCH

public static final JavaBlockDescr.BlockType SWITCH

WHILE

public static final JavaBlockDescr.BlockType WHILE

THROW

public static final JavaBlockDescr.BlockType THROW
Method Detail

values

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

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

valueOf

public static JavaBlockDescr.BlockType 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.