| Modifier and Type | Method and Description |
|---|---|
<T extends Actor> |
Performable.performAs(T actor) |
<T extends Actor> |
AnonymousPerformableRunnable.performAs(T actor) |
<T extends Actor> |
CompositePerformable.performAs(T actor) |
<T extends Actor> |
AnonymousPerformableFunction.performAs(T actor) |
<T extends Actor> |
Forget.performAs(T actor) |
<T extends Actor> |
RememberThat.WithValue.performAs(T actor) |
<T extends Actor> |
RememberThat.WithQuestion.performAs(T actor) |
<T extends Actor> |
AnonymousPerformable.performAs(T actor) |
<T extends Actor> |
SilentPerformableFunction.performAs(T actor) |
| Modifier and Type | Method and Description |
|---|---|
static Actor |
GivenWhenThen.and(Actor actor) |
static Actor |
GivenWhenThen.andThat(Actor actor) |
static Actor |
GivenWhenThen.but(Actor actor) |
<T extends Ability> |
Actor.can(T doSomething) |
Actor |
Actor.describedAs(String description) |
static Actor |
Actor.named(String name) |
static Actor |
GivenWhenThen.then(Actor actor) |
Actor |
Actor.usingPronoun(String pronoun) |
static Actor |
GivenWhenThen.when(Actor actor) |
<T extends Ability> |
Actor.whoCan(T doSomething) |
Actor |
Actor.withNoPronoun() |
| Modifier and Type | Method and Description |
|---|---|
static Actor |
GivenWhenThen.and(Actor actor) |
static Actor |
GivenWhenThen.andThat(Actor actor) |
ANSWER |
Question.answeredBy(Actor actor) |
<T extends Ability> |
RefersToActor.asActor(Actor actor) |
void |
EventBusInterface.assignAbilityToActor(Actor actor,
String ability) |
void |
EventBusInterface.assignFactToActor(Actor actor,
String fact) |
void |
Actor.brief(Actor otherActor)
Add all the remembered items for the current actor to the other actor's memory
|
static Actor |
GivenWhenThen.but(Actor actor) |
void |
QuestionConsequence.evaluateFor(Actor actor) |
void |
Consequence.evaluateFor(Actor actor) |
void |
PredicateConsequence.evaluateFor(Actor actor) |
void |
EventualConsequence.evaluateFor(Actor actor) |
void |
BooleanQuestionConsequence.evaluateFor(Actor actor) |
static UseAnAbility |
UseAnAbility.of(Actor actor) |
protected void |
BaseConsequence.performSetupActionsAs(Actor actor) |
protected void |
EventualConsequence.performSetupActionsAs(Actor actor) |
static InParallel |
InParallel.theActors(Actor... actors)
Perform the specified tasks in parallel.
|
static Actor |
GivenWhenThen.then(Actor actor) |
static Actor |
GivenWhenThen.when(Actor actor) |
| Modifier and Type | Method and Description |
|---|---|
Performable |
Iterate.forEach(BiConsumer<Actor,T> action) |
static InParallel |
InParallel.theActors(Collection<Actor> actors)
Useful if you have a collection or cast of actors.
|
static <T extends Performable> |
Task.where(Consumer<Actor> performableOperation) |
static AnonymousInteraction |
Interaction.where(String title,
Consumer<Actor> performableOperation) |
static <T extends Performable> |
Task.where(String title,
Consumer<Actor> performableOperation) |
| Constructor and Description |
|---|
AnonymousPerformableFunction(String title,
Consumer<Actor> actions) |
SilentPerformableFunction(Consumer<Actor> actions) |
| Modifier and Type | Method and Description |
|---|---|
Actor |
Cast.actorNamed(String actorName,
Ability... abilities) |
static Actor |
OnStage.aNewActor()
Create a new actor whose name is not yet known.
|
Actor |
Stage.shineSpotlightOn(String actorName)
Place an actor with a given name in the spotlight, without the intent to have them perform an action at this time.
|
Actor |
Stage.theActor()
A shortened form of theActorInTheSpotight()
|
static Actor |
OnStage.theActor(String actorName)
A shorter version of "theActorCalled()"
|
static Actor |
OnStage.theActorCalled(String requiredActor)
Returns an actor with a given name, creating a new actor if the actor is not already on stage.
|
static Actor |
OnStage.theActorInTheSpotlight()
The actor in the spotlight is the last actor on the stage who has performed any activity.
|
Actor |
Stage.theActorInTheSpotlight()
Return the current actor in the spotlight.
|
| Modifier and Type | Method and Description |
|---|---|
List<Actor> |
Cast.getActors() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Cast.assignGeneralAbilitiesTo(Actor newActor) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Actor> |
SilentPerformable.performAs(T actor) |
<T extends Actor> |
ConditionalPerformable.performAs(T actor) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
ConditionalPerformableOnQuestion.evaluatedConditionFor(Actor actor) |
protected abstract Boolean |
ConditionalPerformable.evaluatedConditionFor(Actor actor) |
protected Boolean |
ConditionalPerformableOnBoolean.evaluatedConditionFor(Actor actor) |
| Modifier and Type | Method and Description |
|---|---|
void |
Fact.setup(Actor actor) |
default void |
Fact.teardown(Actor actor) |
| Constructor and Description |
|---|
FactLifecycleListener(Actor actor,
Fact fact) |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
FormattedTitle.ofConsequence(Consequence<T> consequence,
Actor actor) |
| Constructor and Description |
|---|
FormattedTitle(EnvironmentVariables environmentVariables,
Actor actor) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
SortedQuestion.answeredBy(Actor actor) |
Boolean |
TheMemory.answeredBy(Actor actor) |
List<T> |
ReverseQuestion.answeredBy(Actor actor) |
T |
Remembered.answeredBy(Actor actor) |
T |
QuestionWithDefinedSubject.answeredBy(Actor actor) |
Integer |
CountQuestion.answeredBy(Actor actor) |
T |
MinQuestion.answeredBy(Actor actor) |
T |
MaxQuestion.answeredBy(Actor actor) |
Integer |
SumQuestion.answeredBy(Actor actor) |
void |
ConsequenceGroup.evaluateFor(Actor actor) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Actor> |
WaitOnQuestion.performAs(T actor) |
<T extends Actor> |
WaitOnSupplier.performAs(T actor) |
Copyright © 2021. All rights reserved.