Class BTUploadS3Orders
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.agendaaffinity.task.BTUploadS3Orders
- All Implemented Interfaces:
Serializable,Tool
This task is going to upload all the new orders to s3.
This is a queued task, it must have an active prediction configuration.
- Since:
- 9.3
- See Also:
- GCApi:
- task
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.protected FilebuildOperationFile(PoolKit poolKit, BOConfigurationParams configurationParam) Method that build a file containing the orders'operations.protected voidprotected List<BOConfigurationParams> getConfigurationParameters(Long algorithmId, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
s3DataRoot
-
resourceFolder
-
AI_TASK_CODE
- See Also:
-
filesToDelete
-
model
-
algorithm
-
-
Constructor Details
-
BTUploadS3Orders
public BTUploadS3Orders()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<Void>- Parameters:
i- the object upon which the task will works onpoolKit- 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
-
getConfigurationParameters
protected List<BOConfigurationParams> getConfigurationParameters(Long algorithmId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
buildOperationFile
protected File buildOperationFile(PoolKit poolKit, BOConfigurationParams configurationParam) throws DAException, DAValidateException Method that build a file containing the orders'operations.- Parameters:
poolKit-configurationParam-- Returns:
- Throws:
DAExceptionDAValidateException
-
deleteTemporaryFiles
protected void deleteTemporaryFiles()
-