Enum ConsequenceMatchWeightType
- java.lang.Object
-
- java.lang.Enum<ConsequenceMatchWeightType>
-
- org.optaplanner.core.impl.score.stream.drools.common.consequences.ConsequenceMatchWeightType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConsequenceMatchWeightType>
public enum ConsequenceMatchWeightType extends Enum<ConsequenceMatchWeightType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_DECIMAL
DEFAULT
INTEGER
LONG
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsequenceMatchWeightType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConsequenceMatchWeightType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final ConsequenceMatchWeightType INTEGER
-
LONG
public static final ConsequenceMatchWeightType LONG
-
BIG_DECIMAL
public static final ConsequenceMatchWeightType BIG_DECIMAL
-
DEFAULT
public static final ConsequenceMatchWeightType DEFAULT
-
-
Method Detail
-
values
public static ConsequenceMatchWeightType[] 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 (ConsequenceMatchWeightType c : ConsequenceMatchWeightType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsequenceMatchWeightType 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
-
-