Class CrewShellSchedulingTeamResourceBuilder

java.lang.Object
overit.geocallapp.wfm.orchestrator.scheduling.bl.schedulingteam.CrewShellSchedulingTeamResourceBuilder
All Implemented Interfaces:
Serializable

public class CrewShellSchedulingTeamResourceBuilder extends Object implements Serializable
Creates an instance of a SchedulingTeamResource for crew shell resource.
Since:
18.0
See Also:
  • 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 a SchedulingTeamResource based on the provided resource ID, reference date, and pool kit.
      Parameters:
      resourceId - the ID of the resource
      referenceDate - the reference date to retrieve the work shift for the resource
      poolKit - the pool kit to use for retrieving the resource and work shift
      Returns:
      a new instance of SchedulingTeamResource with the work shift and resource loaded
      Throws:
      DAValidateException - if there is an issue validating the input data
      DAException - if there is an issue retrieving the work shift or resource