Package org.shakespeareframework
package org.shakespeareframework
The root package of Shakespeare contains all classes needed to implement the basic Screenplay
concepts:
It also contains Shakespeare's extensions to the basic Screenplay:
Retryable
,RetryableTask
andRetryableQuestion
, andFact
.
-
ClassDescriptionAn
Actor
is the central class of the Shakespeare Framework.AMissingAbilityException
is thrown in case anActor
cannotActor.uses(java.lang.Class<A>)
a requiredAbility
Class
.AMissingFactException
is thrown in case anActor
cannotActor.remembers(java.lang.Class<F>)
a requiredFact
Class
.Question<A>AQuestion
that will be retried until it yields an answer deemedRetryableQuestion.acceptable(A)
or thetimeout
is reached.ATimeoutException
is thrown in case anActor
does not succeed on aRetryable
before its timeout is reached.