Interface FailureHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy used to handle launch failures.
- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Various outcomes for the handler. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionHandle a run failure.
-
Field Details
-
NONE
FailureHandler
that always aborts.
-
-
Method Details
-
handle
Handle a run failure. Implementations may block, for example to wait until specific files are updated.- Parameters:
failure
- the exception- Returns:
- the outcome
-