Class BTWorkloadTimeShift
java.lang.Object
overit.geocall.bl.BusinessTask<WorkloadTimeShiftEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WorkloadTimeShiftEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WorkloadTimeShiftEvent>
overit.geocallapp.wfm.roughplanning.bl.demand.task.BTWorkloadTimeShift
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WorkloadTimeShiftEvent.class)
public class BTWorkloadTimeShift
extends ValidPermissionBusinessTask<WorkloadTimeShiftEvent>
Business task to shift rough planning demand hours.
When the
When the
WorkloadTimeShiftEvent is launched
the BT notices the call and searches the WorkloadTimeShiftEvent basing on the event's input. - Since:
- 19.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(WorkloadTimeShiftEvent event, PoolKit poolKit) Executes the actual business logic after validation has passed.booleanDetermines whether the current state is valid for execution.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
-
Constructor Details
-
BTWorkloadTimeShift
public BTWorkloadTimeShift()
-
-
Method Details
-
execute
protected void execute(WorkloadTimeShiftEvent event, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:ValidExecutionBusinessTaskExecutes the actual business logic after validation has passed.- Specified by:
executein classValidExecutionBusinessTask<WorkloadTimeShiftEvent>- Parameters:
event- theWorkloadTimeShiftEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-