Class BTBuildOssSolver
java.lang.Object
overit.geocall.bl.BusinessTask<BuildOssSolverEvent>
overit.geocallapp.wfm.ai.bl.schedule.oss.task.BTBuildOssSolver
- All Implemented Interfaces:
Serializable,Tool
@Event(BuildOssSolverEvent.class)
public class BTBuildOssSolver
extends BusinessTask<BuildOssSolverEvent>
This task add additional information to VRP XML node solver
- Since:
- 10.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(BuildOssSolverEvent i, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected booleancheckOCConfiguration(overit.geocallapp.wfm.scheduler.util.SchedParams params, PoolKit pk) Check if there is an agenda affinity prediction configuration for the given OC.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTBuildOssSolver
public BTBuildOssSolver()
-
-
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<BuildOssSolverEvent>- 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
-
checkOCConfiguration
protected boolean checkOCConfiguration(overit.geocallapp.wfm.scheduler.util.SchedParams params, PoolKit pk) throws DAValidateException, DAException Check if there is an agenda affinity prediction configuration for the given OC.- Parameters:
params- theSchedParamspk- thePoolKit- Returns:
- true if a configuration exists, false otherwise
- Throws:
DAValidateException- theDAValidateExceptionDAException- theDAException
-