Class BTClusterMappingAgendaAffinity
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicClusterMapping
overit.geocallapp.wfm.ai.bl.agendaaffinity.task.BTClusterMappingAgendaAffinity
- All Implemented Interfaces:
Serializable,Tool
- Direct Known Subclasses:
BTTestClusterMappingAA
This task is going to upload to s3 experiences, teams and resources and will
call the cluster mapping task and it will upload to s3 the response.
- Since:
- 10.0
- See Also:
- GCApi:
- task
-
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicClusterMapping
api, DATE_FIELD, lastConfigurationExecuted, oc, occurredException, SDF_DATE, WAITING_TIMEFields 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 FilebuildExperienceFile(Date extractionStartDate, Long configurationId, PoolKit poolKit) Method that build a file containing the experiences.buildResourceFile(Date extractionStartDate, PoolKit poolKit) Method that build a file containing the resources.protected FilebuildTeamFile(Date extractionStartDate, Long configurationId, PoolKit poolKit) Method that build a file containing the teams.protected CalculateAgendaAffinityExperienceEventMethods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicClusterMapping
buildDataAndUpdate, cleanUselessExperiences, elaborateTask, evaluateException, getLastTrainingOrCMDate, getLogValidityDays, getMostRecentDate, getMostRecentDateFromConfigurations, prepareDataForClusterMapping, updateClusterMapping, updateExperienceMethods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
body, buildHeaders, checkConfiguration, 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
-
Field Details
-
LOG
-
-
Constructor Details
-
BTClusterMappingAgendaAffinity
public BTClusterMappingAgendaAffinity()
-
-
Method Details
-
buildExperienceFile
protected File buildExperienceFile(Date extractionStartDate, Long configurationId, PoolKit poolKit) throws DAException, DAValidateException Method that build a file containing the experiences.- Specified by:
buildExperienceFilein classBTBasicClusterMapping- Parameters:
extractionStartDate-configurationId-poolKit-- Returns:
- Throws:
DAExceptionDAValidateException
-
buildTeamFile
protected File buildTeamFile(Date extractionStartDate, Long configurationId, PoolKit poolKit) throws DAException, DAValidateException Method that build a file containing the teams.- Specified by:
buildTeamFilein classBTBasicClusterMapping- Parameters:
extractionStartDate-configurationId-poolKit-- Returns:
- Throws:
DAExceptionDAValidateException
-
buildResourceFile
public File buildResourceFile(Date extractionStartDate, PoolKit poolKit) throws DAException, DAValidateException Method that build a file containing the resources.- Specified by:
buildResourceFilein classBTBasicClusterMapping- Parameters:
extractionStartDate- the extraction start datepoolKit- the pool kit- Returns:
- the file
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getEventUpdateExperience
protected CalculateAgendaAffinityExperienceEvent getEventUpdateExperience(CalculateExperienceEventInput input) throws DAValidateException, DAException - Specified by:
getEventUpdateExperiencein classBTBasicClusterMapping- Throws:
DAValidateExceptionDAException
-