Index
All Classes and Interfaces|All Packages|Serialized Form
A
- Ability - Interface in org.shakespeareframework
- acceptable(A) - Method in interface org.shakespeareframework.RetryableQuestion
-
This determines if a given answer is acceptable.
- Actor - Class in org.shakespeareframework
-
An
Actor
is the central class of the Shakespeare Framework. - Actor() - Constructor for class org.shakespeareframework.Actor
-
Picks a name from
Actor.NAMES
. - Actor(String) - Constructor for class org.shakespeareframework.Actor
- answerAs(Actor) - Method in interface org.shakespeareframework.Question
C
- can(Ability...) - Method in class org.shakespeareframework.Actor
- checks(Question<A>) - Method in class org.shakespeareframework.Actor
- checks(RetryableQuestion<A>) - Method in class org.shakespeareframework.Actor
D
- DEFAULT_TIMEOUT - Static variable in interface org.shakespeareframework.Retryable
-
The default timeout
- does(RetryableTask) - Method in class org.shakespeareframework.Actor
- does(Task) - Method in class org.shakespeareframework.Actor
E
- equals(Object) - Method in class org.shakespeareframework.Actor
F
- Fact - Interface in org.shakespeareframework
- failure(Actor, Question<?>, Exception) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the unsuccessful finishing of the latest started
Question
due to an acknowledged exception. - failure(Actor, Question<?>, Exception) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- failure(Actor, Question<A>, A) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the unsuccessful finishing of the latest started
RetryableQuestion
due to an unacceptable answer. - failure(Actor, Question<A>, A) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- failure(Actor, Task, Exception) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- failure(Actor, Task, Exception) - Method in interface org.shakespeareframework.reporting.TaskReporter
- FAILURE - Enum constant in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
something was finished unsuccessfully
- FileReporter - Class in org.shakespeareframework.reporting
-
Reporter
providing a method to write report files. - FileReporter(Path) - Constructor for class org.shakespeareframework.reporting.FileReporter
- FileReporter.ReportType - Enum Class in org.shakespeareframework.reporting
-
Possible types of reports.
G
- getAcknowledgedExceptions() - Method in interface org.shakespeareframework.RetryableTask
- getIgnoredExceptions() - Method in interface org.shakespeareframework.RetryableQuestion
- getInterval() - Method in interface org.shakespeareframework.Retryable
- getName() - Method in class org.shakespeareframework.Actor
- getTimeout() - Method in interface org.shakespeareframework.Retryable
H
- hashCode() - Method in class org.shakespeareframework.Actor
I
- informs(Reporter...) - Method in class org.shakespeareframework.Actor
- isAcknowledgedException(Exception) - Method in interface org.shakespeareframework.RetryableTask
- isIgnoredException(Exception) - Method in interface org.shakespeareframework.RetryableQuestion
L
- learns(Fact...) - Method in class org.shakespeareframework.Actor
- LoggingReporter - Interface in org.shakespeareframework.reporting
-
A
Reporter
using a given Logger.
M
- MissingAbilityException - Exception in org.shakespeareframework
-
A
MissingAbilityException
is thrown in case anActor
cannotActor.uses(java.lang.Class<A>)
a requiredAbility
Class
. - MissingAbilityException(Actor, Class<? extends Ability>) - Constructor for exception org.shakespeareframework.MissingAbilityException
- MissingFactException - Exception in org.shakespeareframework
-
A
MissingFactException
is thrown in case anActor
cannotActor.remembers(java.lang.Class<F>)
a requiredFact
Class
. - MissingFactException(Actor, Class<? extends Fact>) - Constructor for exception org.shakespeareframework.MissingFactException
O
- org.shakespeareframework - package org.shakespeareframework
- org.shakespeareframework.reporting - package org.shakespeareframework.reporting
-
The reporting package contains classes and interfaces for reporting what an
Actor
does:Reporter
is the main interface,LoggingReporter
is the interface for reporters that generate logs,Slf4jReporter
is its default implementation,FileReporter
can be extended to generate report files.
P
- performAs(Actor) - Method in interface org.shakespeareframework.Task
Q
- Question<A> - Interface in org.shakespeareframework
- QuestionReporter - Interface in org.shakespeareframework.reporting
R
- remembers(Class<F>) - Method in class org.shakespeareframework.Actor
- Reporter - Interface in org.shakespeareframework.reporting
- retry(Actor, RetryableQuestion<?>, Exception) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the retry of the latest started
RetryableQuestion
due to an ignored exception. - retry(Actor, RetryableQuestion<?>, Exception) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- retry(Actor, RetryableQuestion<A>, A) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the retry of the latest started
RetryableQuestion
due to an unacceptable answer. - retry(Actor, RetryableQuestion<A>, A) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- retry(Actor, RetryableTask, Exception) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- retry(Actor, RetryableTask, Exception) - Method in interface org.shakespeareframework.reporting.TaskReporter
-
Reports the retry of the latest started
RetryableTask
. - RETRY - Enum constant in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
something was retried
- Retryable - Interface in org.shakespeareframework
- RetryableQuestion<A> - Interface in org.shakespeareframework
-
A
Question
that will be retried until it yields an answer deemedRetryableQuestion.acceptable(A)
or thetimeout
is reached. - RetryableTask - Interface in org.shakespeareframework
- RetryInterruptedException - Exception in org.shakespeareframework
- RetryInterruptedException(Actor, Retryable, InterruptedException) - Constructor for exception org.shakespeareframework.RetryInterruptedException
S
- Slf4jReporter - Class in org.shakespeareframework.reporting
-
LoggingReporter
that logs to SLF4J. - Slf4jReporter() - Constructor for class org.shakespeareframework.reporting.Slf4jReporter
- start(Actor, Question<?>) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the start of checking the given
Question
. - start(Actor, Question<?>) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- start(Actor, Task) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- start(Actor, Task) - Method in interface org.shakespeareframework.reporting.TaskReporter
-
Reports the start of doing the given
Task
. - START - Enum constant in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
something was started
- success(Actor, Question<A>, A) - Method in interface org.shakespeareframework.reporting.QuestionReporter
-
Reports the successful finishing of the lastest started
Question
. - success(Actor, Question<A>, A) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- success(Actor, Task) - Method in class org.shakespeareframework.reporting.Slf4jReporter
- success(Actor, Task) - Method in interface org.shakespeareframework.reporting.TaskReporter
-
Reports the successful finishing of the latest started
Task
. - SUCCESS - Enum constant in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
something was finished successfully
T
- Task - Interface in org.shakespeareframework
- TaskReporter - Interface in org.shakespeareframework.reporting
- TimeoutException - Exception in org.shakespeareframework
-
A
TimeoutException
is thrown in case anActor
does not succeed on aRetryable
before its timeout is reached. - TimeoutException(Actor, Retryable, Throwable) - Constructor for exception org.shakespeareframework.TimeoutException
- toString() - Method in class org.shakespeareframework.Actor
- toString() - Method in enum class org.shakespeareframework.reporting.FileReporter.ReportType
U
- uses(Class<A>) - Method in class org.shakespeareframework.Actor
V
- valueOf(String) - Static method in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.shakespeareframework.reporting.FileReporter.ReportType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeReport(Actor, FileReporter.ReportType, Object, String, byte[]) - Method in class org.shakespeareframework.reporting.FileReporter
-
Writes the given content to a new file in the
FileReporter.reportsPath
. - WriteReportFileException - Exception in org.shakespeareframework.reporting
-
A
WriteReportFileException
is thrown when theFileReporter
fails create a report file. - WriteReportFileException(String, IOException) - Constructor for exception org.shakespeareframework.reporting.WriteReportFileException
All Classes and Interfaces|All Packages|Serialized Form