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