Class BTMobileBundleAcceptInCharge
java.lang.Object
overit.geocall.bl.BusinessTask<MobileBundleAcceptInChargeEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileBundleAcceptInChargeEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<MobileBundleAcceptInChargeEvent>
overit.geocallapp.wfm.mobile.core.bl.bundle.action.acceptincharge.task.BTMobileBundleAcceptInCharge
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileBundleAcceptInChargeEvent.class)
public class BTMobileBundleAcceptInCharge
extends BTBundler<MobileBundleAcceptInChargeEvent>
Accepts and takes in charge a bundle from mobile by scheduling all its operations to the specified resource.
Validates the bundle is in schedulable state and immediately marks operations as taken in charge.
- Since:
- 22.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(MobileBundleAcceptInChargeEvent event, PoolKit poolKit) It accepts and takes in charge the given bundle.Methods inherited from class overit.geocallapp.wfm.bundler.bl.task.BTBundler
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTMobileBundleAcceptInCharge
public BTMobileBundleAcceptInCharge()
-
-
Method Details
-
execute
protected void execute(MobileBundleAcceptInChargeEvent event, PoolKit poolKit) throws DAException, DAValidateException It accepts and takes in charge the given bundle.- Specified by:
executein classValidExecutionBusinessTask<MobileBundleAcceptInChargeEvent>- Parameters:
event- theMobileBundleAcceptInChargeEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-