Class ShiftEmployeeConflict
- java.lang.Object
-
- org.optaweb.employeerostering.domain.violation.ShiftEmployeeConflict
-
- All Implemented Interfaces:
ConstraintMatchView
public class ShiftEmployeeConflict extends Object implements ConstraintMatchView
-
-
Constructor Summary
Constructors Constructor Description ShiftEmployeeConflict()ShiftEmployeeConflict(Shift leftShift, Shift rightShift, org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShiftgetLeftShift()ShiftgetRightShift()org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoregetScore()voidsetLeftShift(Shift leftShift)voidsetRightShift(Shift rightShift)voidsetScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
-
-
-
Method Detail
-
getLeftShift
public Shift getLeftShift()
-
setLeftShift
public void setLeftShift(Shift leftShift)
-
getRightShift
public Shift getRightShift()
-
setRightShift
public void setRightShift(Shift rightShift)
-
getScore
public org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore getScore()
- Specified by:
getScorein interfaceConstraintMatchView
-
setScore
public void setScore(org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score)
-
-