| Modifier and Type | Method and Description |
|---|---|
List<Shift> |
Roster.getShiftList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RosterState.isDraft(Shift shift) |
boolean |
RosterState.isHistoric(Shift shift) |
boolean |
RosterState.isPublished(Shift shift) |
| Modifier and Type | Method and Description |
|---|---|
void |
Roster.setShiftList(List<Shift> shiftList) |
| Constructor and Description |
|---|
Roster(Long id,
Integer tenantId,
RosterConstraintConfiguration rosterConstraintConfiguration,
List<Skill> skillList,
List<Spot> spotList,
List<Employee> employeeList,
List<EmployeeAvailability> employeeAvailabilityList,
RosterState rosterState,
List<Shift> shiftList) |
Roster(Long id,
Integer tenantId,
RosterConstraintConfiguration rosterConstraintConfiguration,
List<Skill> skillList,
List<Spot> spotList,
List<Employee> employeeList,
List<EmployeeAvailability> employeeAvailabilityList,
RosterState rosterState,
List<Shift> shiftList,
boolean isNondisruptivePlanning,
OffsetDateTime nondisruptiveReplanFrom) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Shift> |
TimeBucket.createShiftForOffset(LocalDate startDate,
int offset,
ZoneId zoneId,
boolean defaultToRotationEmployee) |
| Modifier and Type | Method and Description |
|---|---|
Shift |
Shift.inTimeZone(ZoneId zoneId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PinningShiftFilter.accept(Roster roster,
Shift shift) |
boolean |
Shift.follows(Shift other) |
boolean |
Shift.precedes(Shift other) |
| Constructor and Description |
|---|
ShiftView(ZoneId zoneId,
Shift shift) |
ShiftView(ZoneId zoneId,
Shift shift,
List<RequiredSkillViolation> requiredSkillViolationList,
List<UnavailableEmployeeViolation> unavailableEmployeeViolationList,
List<ShiftEmployeeConflict> shiftEmployeeConflictList,
List<DesiredTimeslotForEmployeeReward> desiredTimeslotForEmployeeRewardList,
List<UndesiredTimeslotForEmployeePenalty> undesiredTimeslotForEmployeePenaltyList,
List<RotationViolationPenalty> rotationViolationPenaltyList,
List<UnassignedShiftPenalty> unassignedShiftPenaltyList,
List<ContractMinutesViolation> contractMinutesViolationPenaltyList,
List<NoBreakViolation> noBreakViolationList,
List<PublishedShiftReassignedPenalty> publishedShiftReassignedPenaltyList,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore indictmentScore) |
| Modifier and Type | Method and Description |
|---|---|
Shift |
NoBreakViolation.getFirstShift() |
Shift |
ShiftEmployeeConflict.getLeftShift() |
Shift |
ShiftEmployeeConflict.getRightShift() |
Shift |
NoBreakViolation.getSecondShift() |
Shift |
UndesiredTimeslotForEmployeePenalty.getShift() |
Shift |
UnavailableEmployeeViolation.getShift() |
Shift |
UnassignedShiftPenalty.getShift() |
Shift |
RotationViolationPenalty.getShift() |
Shift |
RequiredSkillViolation.getShift() |
Shift |
PublishedShiftReassignedPenalty.getShift() |
Shift |
DesiredTimeslotForEmployeeReward.getShift() |
Shift |
NoBreakViolation.getThirdShift() |
| Modifier and Type | Method and Description |
|---|---|
void |
NoBreakViolation.setFirstShift(Shift firstShift) |
void |
ShiftEmployeeConflict.setLeftShift(Shift leftShift) |
void |
ShiftEmployeeConflict.setRightShift(Shift rightShift) |
void |
NoBreakViolation.setSecondShift(Shift secondShift) |
void |
UndesiredTimeslotForEmployeePenalty.setShift(Shift shift) |
void |
UnavailableEmployeeViolation.setShift(Shift shift) |
void |
UnassignedShiftPenalty.setShift(Shift shift) |
void |
RotationViolationPenalty.setShift(Shift shift) |
void |
RequiredSkillViolation.setShift(Shift shift) |
void |
PublishedShiftReassignedPenalty.setShift(Shift shift) |
void |
DesiredTimeslotForEmployeeReward.setShift(Shift shift) |
void |
NoBreakViolation.setThirdShift(Shift thirdShift) |
| Constructor and Description |
|---|
DesiredTimeslotForEmployeeReward(Shift shift,
EmployeeAvailability employeeAvailability,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
NoBreakViolation(Shift firstShift,
Shift secondShift,
Shift thirdShift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
PublishedShiftReassignedPenalty(Shift shift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
RequiredSkillViolation(Shift shift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
RotationViolationPenalty(Shift shift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
ShiftEmployeeConflict(Shift leftShift,
Shift rightShift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
UnassignedShiftPenalty(Shift shift,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
UnavailableEmployeeViolation(Shift shift,
EmployeeAvailability employeeAvailability,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
UndesiredTimeslotForEmployeePenalty(Shift shift,
EmployeeAvailability employeeAvailability,
org.optaplanner.core.api.score.buildin.hardmediumsoftlong.HardMediumSoftLongScore score) |
| Modifier and Type | Method and Description |
|---|---|
ShiftView |
IndictmentUtils.getShiftViewWithIndictment(ZoneId zoneId,
Shift shift,
org.optaplanner.core.api.score.constraint.Indictment indictment) |
| Modifier and Type | Method and Description |
|---|---|
List<Shift> |
RosterGenerator.createShiftList(RosterGenerator.GeneratorType generatorType,
Integer tenantId,
RosterConstraintConfiguration rosterConstraintConfiguration,
RosterState rosterState,
List<Spot> spotList,
List<TimeBucket> timeBucketList) |
| Modifier and Type | Method and Description |
|---|---|
List<EmployeeAvailability> |
RosterGenerator.createEmployeeAvailabilityList(RosterGenerator.GeneratorType generatorType,
Integer tenantId,
RosterConstraintConfiguration rosterConstraintConfiguration,
RosterState rosterState,
List<Employee> employeeList,
List<Shift> shiftList) |
| Modifier and Type | Method and Description |
|---|---|
List<Shift> |
ShiftRepository.filterWithEmployees(Integer tenantId,
Set<Employee> employeeSet,
OffsetDateTime startDateTime,
OffsetDateTime endDateTime) |
List<Shift> |
ShiftRepository.filterWithSpots(Integer tenantId,
Set<Spot> spotSet,
OffsetDateTime startDateTime,
OffsetDateTime endDateTime) |
List<Shift> |
ShiftRepository.findAllByTenantId(Integer tenantId) |
List<Shift> |
ShiftRepository.findAllByTenantIdBetweenDates(Integer tenantId,
OffsetDateTime startDateTime,
OffsetDateTime endDateTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadBalancingHourCounter.decreaseHourlyCount(Shift shift) |
void |
LoadBalancingHourCounter.increaseHourlyCount(Shift shift) |
Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.