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.
 - @FunctionalInterface public interface FailureHandler Strategy used to handle launch failures.- Since:
- 1.3.0
 
- Nested Class Summary- Nested Classes - Modifier and Type - Interface - Description - static class- FailureHandler.OutcomeVarious outcomes for the handler.
 - Field Summary- Fields - Modifier and Type - Field - Description - static FailureHandler- NONE- FailureHandlerthat always aborts.
 - Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - FailureHandler.Outcome- handle(Throwable failure)Handle a run failure.
 
- Field Detail- NONE- static final FailureHandler NONE - FailureHandlerthat always aborts.
 
 - Method Detail- handle- FailureHandler.Outcome handle(Throwable failure) Handle a run failure. Implementations may block, for example to wait until specific files are updated.- Parameters:
- failure- the exception
- Returns:
- the outcome