| Modifier and Type | Interface and Description |
|---|---|
interface |
Action
Deprecated.
Use Interaction instead
|
interface |
Interaction
A marker class to indicate that a Performable represents a system interaction (action),
rather than a business task.
|
interface |
Task
A marker class to indicate that a Performable represents a higher level business task,
rather than a system interaction.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnonymousBackendTask |
class |
AnonymousInteraction |
class |
AnonymousPerformable |
class |
AnonymousPerformableFunction |
class |
AnonymousPerformableRunnable |
class |
AnonymousTask |
class |
CompositePerformable |
class |
Forget |
class |
RememberThat
A convenience method to allow an actor to remember things when performing tasks.
|
static class |
RememberThat.WithQuestion |
static class |
RememberThat.WithValue |
class |
SilentInteraction |
class |
SilentPerformableFunction |
| Modifier and Type | Method and Description |
|---|---|
<T extends Performable> |
PerformsTasks.attemptsTo(T... todos) |
static <T extends Performable> |
Tasks.instrumented(Class<T> stepClass,
Object... parameters) |
static <T extends Performable> |
InstrumentedTask.of(T task) |
static <T extends Performable> |
Task.thatPerforms(Runnable performableOperation) |
static <T extends Performable> |
Task.thatPerforms(String title,
Runnable performableOperation) |
static <T extends Performable> |
Task.where(Consumer<Actor> performableOperation) |
static <T extends Performable> |
Task.where(String title,
Consumer<Actor> performableOperation) |
static <T extends Performable> |
Task.where(String title,
T... steps) |
static <T extends Performable> |
BackendTask.where(String title,
T... steps) |
static <T extends Performable> |
Task.where(T... steps) |
static <T extends Performable> |
SilentTask.where(T... steps) |
static <T extends Performable> |
BackendTask.where(T... steps) |
<T extends Performable> |
TaskBuilder.whereTheActorAttemptsTo(T... steps) |
| Modifier and Type | Method and Description |
|---|---|
Performable |
Iterate.forEach(BiConsumer<Actor,T> action) |
static Performable |
CompositePerformable.from(Performable firstPerformable,
Performable nextPerformable) |
default Performable |
Performable.then(Performable nextPerformable) |
| Modifier and Type | Method and Description |
|---|---|
Consequence<T> |
Consequence.after(Performable... setupActions)
Evaluate the consequence only after performing the specified tasks.
|
Consequence<T> |
BaseConsequence.after(Performable... actions) |
Consequence<T> |
EventualConsequence.after(Performable... actions) |
protected void |
Actor.attemptsTo(Actor.ErrorHandlingMode mode,
Performable... tasks) |
void |
Actor.attemptsTo(Performable... tasks) |
<T extends Performable> |
PerformsTasks.attemptsTo(T... todos) |
static InteractiveConsequence |
InteractiveConsequence.attemptTo(Performable... actions) |
void |
InParallel.eachAttemptTo(Performable... tasks)
Have several actors perform a given task in parallel, for example:
|
static Performable |
CompositePerformable.from(Performable firstPerformable,
Performable nextPerformable) |
void |
Actor.has(Performable... todos) |
static boolean |
SilentTasks.isSilent(Performable task) |
void |
EventBusInterface.reportStepFailureFor(Performable todo,
Throwable e) |
void |
EventBusInterface.reportStepSkippedFor(Performable todo) |
default Performable |
Performable.then(Performable nextPerformable) |
void |
Actor.wasAbleTo(Performable... todos)
A tense-neutral synonym for addFact() for use with given() clauses
|
Consequence<T> |
Consequence.whenAttemptingTo(Performable performable) |
Consequence<T> |
BaseConsequence.whenAttemptingTo(Performable performable) |
Consequence<T> |
EventualConsequence.whenAttemptingTo(Performable performable) |
static AnonymousInteraction |
Interaction.where(String title,
Performable... steps) |
static <T extends Performable> |
Task.where(String title,
T... steps) |
static <T extends Performable> |
BackendTask.where(String title,
T... steps) |
static <T extends Performable> |
Task.where(T... steps) |
static <T extends Performable> |
SilentTask.where(T... steps) |
static <T extends Performable> |
BackendTask.where(T... steps) |
<T extends Performable> |
TaskBuilder.whereTheActorAttemptsTo(T... steps) |
| Modifier and Type | Method and Description |
|---|---|
void |
InParallel.eachAttemptTo(Collection<Performable> tasks) |
| Constructor and Description |
|---|
InteractiveConsequence(Performable[] actions) |
| Constructor and Description |
|---|
AnonymousBackendTask(String title,
List<Performable> steps) |
AnonymousInteraction(String title,
List<Performable> steps) |
AnonymousPerformable(String title,
List<Performable> steps) |
AnonymousTask(String title,
List<Performable> steps) |
| Modifier and Type | Method and Description |
|---|---|
static void |
OnStage.withCurrentActor(Performable... performTasks)
A shorter version of "theActorInTheSpotlight().attemptsTo(...)"
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConditionalPerformable |
class |
ConditionalPerformableOnBoolean |
class |
ConditionalPerformableOnQuestion |
class |
SilentPerformable |
| Modifier and Type | Method and Description |
|---|---|
ConditionalPerformable |
ConditionalPerformable.andIfSo(Performable... taskToPerform) |
ConditionalPerformable |
ConditionalPerformable.otherwise(Performable... taskToPerform) |
| Modifier and Type | Method and Description |
|---|---|
Performable |
ActorPerforms.getPerformable() |
| Constructor and Description |
|---|
ActorPerforms(Performable performable,
String actor) |
| Constructor and Description |
|---|
QuestionWithDefinedSubject(Question<T> theQuestion,
String subject,
List<Performable> predecingTasks) |
| Modifier and Type | Class and Description |
|---|---|
class |
WaitOnQuestion |
class |
WaitOnSupplier |
class |
WaitWithTimeout |
| Modifier and Type | Method and Description |
|---|---|
Performable |
WithTimeUnits.milliseconds() |
Performable |
WithTimeUnits.minutes() |
Performable |
WithTimeUnits.seconds() |
Copyright © 2021. All rights reserved.