Class BTPredictionAgendaAffinity
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
overit.geocallapp.wfm.ai.bl.agendaaffinity.task.BTPredictionAgendaAffinity
- All Implemented Interfaces:
Serializable,Tool
Task for call Agenda Affinity prediction, using Edge Helper library
- Since:
- 9.3
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
algorithmName, asyncQueueMode, configurationParamsHistory, elaborationHistory, factory, filesToDelete, headers, instanceType, modelName, resourcesFolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TeamAgendaAffinity> Build the list of TeamAgendaAffinity that will be passed to prediction systemprotected voidprotected voiddoPrediction(List<TeamAgendaAffinity> teamAgendaAffinityList, PoolKit pk) protected voidelaborateTask(PoolKit pk) protected intprotected voidsaveTeamAgendaAffinity(List<TeamAgendaAffinity> affinityInput, PoolKit pk) Save the affinity values on db.voidsetOperationCenter(Long operationCenter) voidsetSchedulingModel(Long schedulingModel) voidsetWorkshifts(Set<Long> workshifts) voidupdateConfiguration(boolean updateConfiguration) Methods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
body, buildHeaders, clearOldLogs, deleteFileS3, deleteTemporaryFiles, getAiConfiguration, getAwsUploadPath, getConfigurationParamsHistory, getElaborationHistory, getError, getJobName, getResourcesFolder, getTrainingType, isAsyncQueueMode, prepareDataForApi, setAiConfiguration, setAsyncQueueMode, setJobName, setResourcesFolder, setTrainingType, uploadFileS3, writeLogTableMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPredictionAgendaAffinity
public BTPredictionAgendaAffinity()
-
-
Method Details
-
getSchedulingModel
-
setSchedulingModel
-
getWorkshifts
-
setWorkshifts
-
updateConfiguration
public void updateConfiguration(boolean updateConfiguration) -
getOperationCenter
-
setOperationCenter
-
elaborateTask
- Specified by:
elaborateTaskin classBTBasicAIProcess- Throws:
DAExceptionDAValidateException
-
buildAffinityInput
protected List<TeamAgendaAffinity> buildAffinityInput(PoolKit pk) throws DAValidateException, DAException Build the list of TeamAgendaAffinity that will be passed to prediction system- Parameters:
pk-- Returns:
- Throws:
DAValidateExceptionDAException
-
doPrediction
protected void doPrediction(List<TeamAgendaAffinity> teamAgendaAffinityList, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
saveTeamAgendaAffinity
protected void saveTeamAgendaAffinity(List<TeamAgendaAffinity> affinityInput, PoolKit pk) throws DAValidateException, DAException Save the affinity values on db. Old prediction will be deleted- Parameters:
affinityInput- the list of TeamAgendaAffinity that will be savedpk- the PoolKit- Throws:
DAExceptionDAValidateException
-
checkConfiguration
- Overrides:
checkConfigurationin classBTBasicAIProcess- Throws:
DAValidateException
-
getLogValidityDays
protected int getLogValidityDays()- Specified by:
getLogValidityDaysin classBTBasicAIProcess
-