D
- Type of custom data specific to the task.public interface ScheduleTaskExecutor<D extends ScheduleTaskData>
Modifier and Type | Method and Description |
---|---|
void |
execute(ScheduleTaskControl control,
D customData,
ScheduleTaskExecutionContext executionContext)
Execute with the given task information in the provided context.
|
void |
validate(ScheduleTaskControl control,
D customData,
ScheduleTaskExecutionContext executionContext)
Validate with the given task information in the provided context.
|
void execute(@NotNull ScheduleTaskControl control, @Nullable D customData, @NotNull ScheduleTaskExecutionContext executionContext)
control
- The task control.customData
- The task's custom data.executionContext
- The execution context.void validate(@NotNull ScheduleTaskControl control, @Nullable D customData, @NotNull ScheduleTaskExecutionContext executionContext)
control
- The task control.customData
- The task's custom data.executionContext
- The execution context.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210