Class BTLaunchAIQueuedProcess
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.processing.task.BTLaunchAIQueuedProcess
- All Implemented Interfaces:
Serializable,Tool
This task will launch all the operation - configuration it finds in the table
It will call the active algorithms/configurations for task prediction and call its task.
DAOAIProcessExecutionHistory. It will call the active algorithms/configurations for task prediction and call its task.
- 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 BOConfigurationParamsgetConfigurationParameters(Long configurationId, PoolKit pk) Method that get all the parameters for a given configuration id.protected voidupdateRecords(LongSet executionOperationsSet, ExecuteAIProcessEventOutput output, Long configurationId, PoolKit poolKit) Method that updates the elaborated records with the result of elaboration.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoQueuedOperations
-
-
Constructor Details
-
BTLaunchAIQueuedProcess
public BTLaunchAIQueuedProcess()
-
-
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 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
-
updateRecords
protected void updateRecords(LongSet executionOperationsSet, ExecuteAIProcessEventOutput output, Long configurationId, PoolKit poolKit) throws DAException, DAValidateException Method that updates the elaborated records with the result of elaboration.- Parameters:
executionOperationsSet-output-configurationId- The id of the current configurationpoolKit- the PoolKit- Throws:
DAExceptionDAValidateException
-
getConfigurationParameters
protected BOConfigurationParams getConfigurationParameters(Long configurationId, PoolKit pk) throws DAValidateException, DAException Method that get all the parameters for a given configuration id.- Parameters:
configurationId-pk-- Returns:
- Throws:
DAValidateExceptionDAException
-