Package org.drools.core.factmodel
Enum ClassDefinition.TRAITING_MODE
- java.lang.Object
-
- java.lang.Enum<ClassDefinition.TRAITING_MODE>
-
- org.drools.core.factmodel.ClassDefinition.TRAITING_MODE
-
- All Implemented Interfaces:
Serializable
,Comparable<ClassDefinition.TRAITING_MODE>
- Enclosing class:
- ClassDefinition
public static enum ClassDefinition.TRAITING_MODE extends Enum<ClassDefinition.TRAITING_MODE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassDefinition.TRAITING_MODE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClassDefinition.TRAITING_MODE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ClassDefinition.TRAITING_MODE NONE
-
BASIC
public static final ClassDefinition.TRAITING_MODE BASIC
-
LOGICAL
public static final ClassDefinition.TRAITING_MODE LOGICAL
-
-
Method Detail
-
values
public static ClassDefinition.TRAITING_MODE[] 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 (ClassDefinition.TRAITING_MODE c : ClassDefinition.TRAITING_MODE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassDefinition.TRAITING_MODE 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 nameNullPointerException
- if the argument is null
-
-