Class UndesiredTimeslotForEmployeePenalty

    • Constructor Detail

      • UndesiredTimeslotForEmployeePenalty

        public UndesiredTimeslotForEmployeePenalty()
      • UndesiredTimeslotForEmployeePenalty

        public UndesiredTimeslotForEmployeePenalty​(Shift shift,
                                                   EmployeeAvailability employeeAvailability,
                                                   org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
    • Method Detail

      • setEmployeeAvailability

        public void setEmployeeAvailability​(EmployeeAvailability employeeAvailability)
      • getShift

        public Shift getShift()
      • setShift

        public void setShift​(Shift shift)
      • getScore

        public org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getScore()
        Specified by:
        getScore in interface ConstraintMatchView
      • setScore

        public void setScore​(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)