Package overit.geocallapp.wfm.ai.ux.test
Class BTTestPredictionDuration
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
overit.geocallapp.wfm.ai.bl.duration.prediction.task.BTPredictionDuration
overit.geocallapp.wfm.ai.ux.test.BTTestPredictionDuration
- All Implemented Interfaces:
Serializable,Tool
- See Also:
-
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.ai.bl.duration.prediction.task.BTPredictionDuration
operationsMapFields inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
allLogs, api, FIELD_END_DATE, FIELD_OPERATIONS, FIELD_START_DATE, MAX_ROWS_REST_REQUEST, REPORT_FILENAMEFields 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 voidaddCsvToTar(File document, org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchive, String folder) protected voidImplements this method to write the specific task logic to handle the input parameter.protected voidelaborateTask(PoolKit pk) Methods inherited from class overit.geocallapp.wfm.ai.bl.duration.prediction.task.BTPredictionDuration
buildFileToTransfer, buildOperationsMap, getDailyOperationsData, getTimePredictionIdFromOperation, managePredictResults, setFixedOperationSet, setPredictionDate, updateWoTimeDurationResourceTable, updateWoTimeDurationTableMethods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicPrediction
getAwsUploadPath, getLogValidityDays, isSingleCall, setSingleCallMethods inherited from class overit.geocallapp.wfm.ai.bl.processing.task.BTBasicAIProcess
buildHeaders, checkConfiguration, clearOldLogs, deleteFileS3, deleteTemporaryFiles, getAiConfiguration, 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
-
wr
-
-
Constructor Details
-
BTTestPredictionDuration
public BTTestPredictionDuration()
-
-
Method Details
-
getArchive
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Overrides:
bodyin classBTBasicAIProcess- Parameters:
v- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
elaborateTask
- Overrides:
elaborateTaskin classBTBasicPrediction- Throws:
DAExceptionDAValidateException
-
addCsvToTar
protected void addCsvToTar(File document, org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchive, String folder) throws IOException - Throws:
IOException
-