Package cz.xtf.core.waiting.failfast
Interface FailFastCheck
-
- All Known Implementing Classes:
MultipleFailFastChecksHandler,WatchedResourcesSupplier
public interface FailFastCheckInterface for failfast class that provide reason of failure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanhasFailed()default Stringreason()
-
-
-
Method Detail
-
hasFailed
boolean hasFailed()
- Returns:
- true if there is some error and waiter can fail immediately
-
reason
default String reason()
- Returns:
- reason why
hasFailed()have returnedtrue
-
-