Class BTMobileBundleAccept
java.lang.Object
overit.geocall.bl.BusinessTask<MobileBundleAcceptEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileBundleAcceptEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<MobileBundleAcceptEvent>
overit.geocallapp.wfm.mobile.core.bl.bundle.action.accept.task.BTMobileBundleAccept
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileBundleAcceptEvent.class)
public class BTMobileBundleAccept
extends BTBundler<MobileBundleAcceptEvent>
Accepts a bundle from mobile by scheduling all its operations to the specified resource.
Validates the bundle is in schedulable state and uses the parent operation for scheduling.
- Since:
- 22.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(MobileBundleAcceptEvent event, PoolKit poolKit) It accepts 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
-
BTMobileBundleAccept
public BTMobileBundleAccept()
-
-
Method Details
-
execute
protected void execute(MobileBundleAcceptEvent event, PoolKit poolKit) throws DAException, DAValidateException It accepts the given bundle.- Specified by:
executein classValidExecutionBusinessTask<MobileBundleAcceptEvent>- Parameters:
event- theMobileBundleAcceptEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-