Class DATRunAIAlgorithm
java.lang.Object
overit.geocall.da.DATask
overit.geocall.da.RRTask
overit.geocallapp.wfm.ai.bl.processing.task.DATRunAIAlgorithm
- All Implemented Interfaces:
Serializable,Runnable,Identified,Tool
Batch AI process execution
This is the main task for launch AI process from queues
- See Also:
-
Field Summary
FieldsFields inherited from class overit.geocall.da.DATask
_usedConnections, _usedCouriers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody()Abstract method, that must be implemented, that represent the start point of the task.static <T> Tdecode(String pathStaticView, String fromFieldName, Object fromValue, String toFieldName, Object caller) voidexecute(PooledConnection conn) protected List<BOConfigurationParams> getConfigurationParameters(Long algorithmId, Long taskId, PoolKit pk) Methods inherited from class overit.geocall.da.RRTask
getResponse, setRequestMethods inherited from class overit.geocall.da.DATask
commit, deliverCourier, getConnection, getDA, getIdentity, getServiceConnection, holdFactoryCourier, holdUserCourier, releaseConnection, rollback, run, setIdentity, start, startInBackground, synchronizeOn
-
Field Details
-
LOG
-
-
Constructor Details
-
DATRunAIAlgorithm
public DATRunAIAlgorithm()
-
-
Method Details
-
body
Description copied from class:DATaskAbstract method, that must be implemented, that represent the start point of the task. The method contains the application logic of the specific task.- Specified by:
bodyin classDATask- Throws:
DAException- If there is a (blocking) data-access error, a DAException is thrown to the callerDAValidateException- If there are error in the data validation phase, a DAValidateException is thrown
-
execute
- Throws:
DAExceptionDAValidateException
-
decode
public static <T> T decode(String pathStaticView, String fromFieldName, Object fromValue, String toFieldName, Object caller) throws DAValidateException - Throws:
DAValidateException
-
getConfigurationParameters
protected List<BOConfigurationParams> getConfigurationParameters(Long algorithmId, Long taskId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-