Interface PreRunnable<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PreRunnable<WD extends WorkDefinition,AH extends ActivityHandler<WD,AH>>
A code that executes before local or distributing activity run takes place.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(@NotNull EmbeddedActivity<WD,AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result)
-
-
-
Method Detail
-
run
void run(@NotNull @NotNull EmbeddedActivity<WD,AH> activity, @NotNull @NotNull RunningTask runningTask, @NotNull @NotNull OperationResult result) throws CommonException, ActivityRunException
- Throws:
CommonException
ActivityRunException
-
-