Class CrewShellSchedulingTeamResourceBuilder
java.lang.Object
overit.geocallapp.wfm.orchestrator.scheduling.bl.schedulingteam.CrewShellSchedulingTeamResourceBuilder
- All Implemented Interfaces:
Serializable
Creates an instance of a
SchedulingTeamResource for crew shell resource.- Since:
- 18.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulingTeamResourcemakeInstance(Long resourceId, Date referenceDate, PoolKit poolKit) Creates an instance of aSchedulingTeamResourcebased on the provided resource ID, reference date, and pool kit.
-
Constructor Details
-
CrewShellSchedulingTeamResourceBuilder
public CrewShellSchedulingTeamResourceBuilder()
-
-
Method Details
-
makeInstance
public static SchedulingTeamResource makeInstance(Long resourceId, Date referenceDate, PoolKit poolKit) throws DAValidateException, DAException Creates an instance of aSchedulingTeamResourcebased on the provided resource ID, reference date, and pool kit.- Parameters:
resourceId- the ID of the resourcereferenceDate- the reference date to retrieve the work shift for the resourcepoolKit- the pool kit to use for retrieving the resource and work shift- Returns:
- a new instance of
SchedulingTeamResourcewith the work shift and resource loaded - Throws:
DAValidateException- if there is an issue validating the input dataDAException- if there is an issue retrieving the work shift or resource
-