Class BTTeamSuggestionPredictionExecution
java.lang.Object
overit.geocall.bl.BusinessTask<WorkOrderTeamSuggestionPredictionExecutionEvent>
overit.geocallapp.wfm.ai.bl.teamsuggestion.task.BTTeamSuggestionPredictionExecution
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkOrderTeamSuggestionPredictionExecutionEvent.class)
public class BTTeamSuggestionPredictionExecution
extends BusinessTask<WorkOrderTeamSuggestionPredictionExecutionEvent>
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
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 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
-
BTTeamSuggestionPredictionExecution
public BTTeamSuggestionPredictionExecution()
-
-
Method Details
-
body
protected void body(WorkOrderTeamSuggestionPredictionExecutionEvent 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<WorkOrderTeamSuggestionPredictionExecutionEvent>- 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
-