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
Modifier and TypeMethodDescriptionvoid
run
(@NotNull EmbeddedActivity<WD, AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result)
-
Method Details
-
run
void run(@NotNull @NotNull EmbeddedActivity<WD, AH> activity, @NotNull @NotNull RunningTask runningTask, @NotNull @NotNull OperationResult result) throws CommonException, ActivityRunException- Throws:
CommonException
ActivityRunException
-