Interface FailureHandler
public interface FailureHandler
Strategy used to handle launch failures.- Since:
- 1.3.0
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFailureHandler.OutcomeVarious outcomes for the handler.
Field Summary
Fields Modifier and Type Field Description static FailureHandlerNONEFailureHandlerthat always aborts.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailureHandler.Outcomehandle(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