Class BTWorkOrderPPMPredictionExecution
java.lang.Object
overit.geocall.bl.BusinessTask<WorkOrderPPMPredictionExecutionEvent>
overit.geocallapp.wfm.ai.bl.predictivepartsmanagement.task.BTWorkOrderPPMPredictionExecution
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkOrderPPMPredictionExecutionEvent.class)
public class BTWorkOrderPPMPredictionExecution
extends BusinessTask<WorkOrderPPMPredictionExecutionEvent>
Task for call Predictive Parts Management prediction from event call.
- Since:
- 11.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(WorkOrderPPMPredictionExecutionEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected BOConfigurationParamsgetConfigurationParameters(Long operationCenterId, PoolKit pk) protected voidlaunchPrediction(BOConfigurationParams configurationParams, Set<Long> operationIds, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWorkOrderPPMPredictionExecution
public BTWorkOrderPPMPredictionExecution()
-
-
Method Details
-
body
protected void body(WorkOrderPPMPredictionExecutionEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<WorkOrderPPMPredictionExecutionEvent>- Parameters:
event- 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
-
getConfigurationParameters
protected BOConfigurationParams getConfigurationParameters(Long operationCenterId, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
launchPrediction
protected void launchPrediction(BOConfigurationParams configurationParams, Set<Long> operationIds, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-