Class BTForcedDetectOnScheduleCompleteManualAction
java.lang.Object
overit.geocall.bl.BusinessTask<ScheduleCompleteManualActionEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ScheduleCompleteManualActionEvent>
overit.geocallapp.wfm.core.bl.criticalactivity.detectprocess.task.BTCriticalActivity<ScheduleCompleteManualActionEvent>
overit.geocallapp.wfm.core.bl.criticalactivity.detectprocess.task.BTForcedDetectOnScheduleCompleteManualAction
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ScheduleCompleteManualActionEvent.class)
public class BTForcedDetectOnScheduleCompleteManualAction
extends BTCriticalActivity<ScheduleCompleteManualActionEvent>
Business task that launches the critical activity forced detection on
ScheduleCompleteManualActionEvent. - Since:
- 13.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(ScheduleCompleteManualActionEvent event, PoolKit poolKit) Executes the actual business logic after validation has passed.protected voidlaunchForcedDetect(Set<Long> woOperations, PoolKit poolKit) booleanControls whether an exception should be thrown when execution is invalid.Methods inherited from class overit.geocallapp.wfm.core.bl.criticalactivity.detectprocess.task.BTCriticalActivity
getException, isValidExecutionMethods 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
-
BTForcedDetectOnScheduleCompleteManualAction
public BTForcedDetectOnScheduleCompleteManualAction()
-
-
Method Details
-
throwExceptionIfInvalid
public boolean throwExceptionIfInvalid()Description copied from interface:ValidExecutionControls whether an exception should be thrown when execution is invalid. This method allows implementing classes to specify their exception-throwing behavior whenValidExecution.isValidExecution()returns false. If this method returns true, callers should throw the exception returned byValidExecution.getException().- Specified by:
throwExceptionIfInvalidin interfaceValidExecution- Overrides:
throwExceptionIfInvalidin classBTCriticalActivity<ScheduleCompleteManualActionEvent>- Returns:
- true if an exception should be thrown for invalid execution, false otherwise
-
execute
protected void execute(ScheduleCompleteManualActionEvent event, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:ValidExecutionBusinessTaskExecutes the actual business logic after validation has passed.- Specified by:
executein classValidExecutionBusinessTask<ScheduleCompleteManualActionEvent>- Parameters:
event- the input event to processpoolKit- thePoolKit- Throws:
DAException- if a data access error occurs during executionDAValidateException- if validation fails during execution
-
launchForcedDetect
protected void launchForcedDetect(Set<Long> woOperations, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-