Interface QuestionReporter
- All Known Subinterfaces:
LoggingReporter
,Reporter
- All Known Implementing Classes:
FileReporter
,Slf4jReporter
public interface QuestionReporter
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Reports the unsuccessful finishing of the latest startedQuestion
due to an acknowledged exception.default <A> void
Reports the unsuccessful finishing of the latest startedRetryableQuestion
due to an unacceptable answer.default void
retry
(Actor actor, RetryableQuestion<?> question, Exception cause) Reports the retry of the latest startedRetryableQuestion
due to an ignored exception.default <A> void
retry
(Actor actor, RetryableQuestion<A> question, A answer) Reports the retry of the latest startedRetryableQuestion
due to an unacceptable answer.default void
Reports the start of checking the givenQuestion
.default <A> void
Reports the successful finishing of the lastest startedQuestion
.
-
Method Details
-
start
Reports the start of checking the givenQuestion
. -
retry
Reports the retry of the latest startedRetryableQuestion
due to an ignored exception.- Parameters:
actor
- the actingActor
question
- the retried questioncause
- the cause for the retry
-
retry
Reports the retry of the latest startedRetryableQuestion
due to an unacceptable answer.- Type Parameters:
A
- the type of the given answer- Parameters:
actor
- the actingActor
question
- the retried questionanswer
- the current unacceptable answer
-
success
Reports the successful finishing of the lastest startedQuestion
. -
failure
Reports the unsuccessful finishing of the latest startedQuestion
due to an acknowledged exception. -
failure
Reports the unsuccessful finishing of the latest startedRetryableQuestion
due to an unacceptable answer.
-