Class EmployeeRosteringConstraintProvider

  • All Implemented Interfaces:
    org.optaplanner.core.api.score.stream.ConstraintProvider

    public final class EmployeeRosteringConstraintProvider
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintProvider
    Designed to match the DRL exactly. Any score discrepancy between the two would be considered a bug.
    • Constructor Detail

      • EmployeeRosteringConstraintProvider

        public EmployeeRosteringConstraintProvider()
    • Method Detail

      • defineConstraints

        public org.optaplanner.core.api.score.stream.Constraint[] defineConstraints​(org.optaplanner.core.api.score.stream.ConstraintFactory constraintFactory)
        Specified by:
        defineConstraints in interface org.optaplanner.core.api.score.stream.ConstraintProvider