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