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>
NONE
public static final ClassDefinition.TRAITING_MODE NONE
BASIC
public static final ClassDefinition.TRAITING_MODE BASIC
LOGICAL
public static final ClassDefinition.TRAITING_MODE LOGICAL
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 name
NullPointerException - if the argument is null
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.