Package ratpack.exec
Interface ExecInitializer
-
- 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 ExecInitializer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(Execution execution)
Called before the execution is started in order to perform any initialisation.
-
-
-
Method Detail
-
init
void init(Execution execution)
Called before the execution is started in order to perform any initialisation.Implementations of this method typically add objects to the execution (as it's a registry).
This is called before
ExecStarter.start(Action)
, but afterExecStarter.onStart(Action)
.- Parameters:
execution
- the execution that is about to be started.
-
-