Class BTImmediateSchedulingTeamExclusionByAssignedWO
java.lang.Object
overit.geocall.bl.BusinessTask<ImmediateSchedulingTeamExclusionEvent>
overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusion
overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusionByAssignedWO
- All Implemented Interfaces:
Serializable,Tool
@Event(value=ImmediateSchedulingTeamExclusionEvent.class,
priority=70)
public class BTImmediateSchedulingTeamExclusionByAssignedWO
extends BTImmediateSchedulingTeamExclusion
Business Task that excludes teams with mixed scheduled activities or multi-day activities.
A team is excluded if:
- It has multi-day activities -
exclusion reason:
BOImmediateSchedulingExclusionReason.Values.MULTI_DAY_ACTIVITY_START_OF_DAY - It has mixed activities -
exclusion reason:
BOImmediateSchedulingExclusionReason.Values.MIXED_TEAMS
This task listens to ImmediateSchedulingTeamExclusionEvent
- Since:
- 22.0
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusion
integrationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfilter(ImmediateSchedulingTeamExclusionOutput output, ImmediateSchedulingTeamExclusionInput input, PoolKit poolKit) Applies the specific exclusion filter logic.Methods inherited from class overit.geocallapp.wfm.orchestrator.scheduling.bl.immediatescheduling.teamexclusion.task.BTImmediateSchedulingTeamExclusion
body, createInitialTeamCompatibilityMatrix, getIntegrationService, getOutput, recordResourceExclusions, removeTeamsWithoutWorkOrdersMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTImmediateSchedulingTeamExclusionByAssignedWO
public BTImmediateSchedulingTeamExclusionByAssignedWO()
-
-
Method Details
-
filter
protected void filter(ImmediateSchedulingTeamExclusionOutput output, ImmediateSchedulingTeamExclusionInput input, PoolKit poolKit) throws DAValidateException, DAException Description copied from class:BTImmediateSchedulingTeamExclusionApplies the specific exclusion filter logic. Implementations should: 1. Remove teams from output.getForemanByAliveTeam() that should be excluded 2. Remove incompatible work orders from output.getTeamWorkOrderCompatibility() 3. Log the excluded resources with appropriate messages Note: Teams are automatically removed byBTImmediateSchedulingTeamExclusion.removeTeamsWithoutWorkOrders(overit.geocallapp.wfm.scheduling.bl.immediatescheduling.teamexclusion.event.ImmediateSchedulingTeamExclusionOutput)if they have no compatible work orders.- Specified by:
filterin classBTImmediateSchedulingTeamExclusion- Parameters:
output- the current output from previous filters (modify foremanByAliveTeam and teamWorkOrderCompatibility)input- the event input containing scheduling model and reference datepoolKit- the pool kit- Throws:
DAValidateException- if a validation error occursDAException- if a data access error occurs
-