Skip navigation links
A B C E F G H I M N O P R S T U W 

A

AbstractActor - Class in org.requirementsascode
An actor can be anything with a behavior.
AbstractActor() - Constructor for class org.requirementsascode.AbstractActor
Creates an actor with a name equal to the current class' simple name.
AbstractActor(String) - Constructor for class org.requirementsascode.AbstractActor
Creates an actor with the specified name.
AbstractContinues - Class in org.requirementsascode.systemreaction
 
AbstractContinues(String) - Constructor for class org.requirementsascode.systemreaction.AbstractContinues
 
AbstractContinuesAfter - Class in org.requirementsascode.systemreaction
 
AbstractContinuesAfter(String, FlowStep) - Constructor for class org.requirementsascode.systemreaction.AbstractContinuesAfter
 
accept(ModelRunner) - Method in class org.requirementsascode.systemreaction.AbstractContinuesAfter
 
accept(ModelRunner) - Method in class org.requirementsascode.systemreaction.ContinuesWithoutAlternativeAt
 
accept(T) - Method in class org.requirementsascode.systemreaction.IgnoresIt
 
Actor - Class in org.requirementsascode
An actor with dynamically attachable behavior.
Actor() - Constructor for class org.requirementsascode.Actor
Creates an actor with a name equal to the current class' simple name.
Actor(String) - Constructor for class org.requirementsascode.Actor
Creates an actor with the specified name.
after(String) - Method in class org.requirementsascode.builder.FlowPart
Starts the flow after the specified step has been run, in this flow's use case.
After - Class in org.requirementsascode.flowposition
Tests whether the specified step was the last step run.
After(FlowStep) - Constructor for class org.requirementsascode.flowposition.After
Tests whether the specified step was the last step run.
anytime() - Method in class org.requirementsascode.builder.FlowPart
Starts the flow after any step that has been run, or at the beginning.
Anytime - Class in org.requirementsascode.flowposition
 
Anytime() - Constructor for class org.requirementsascode.flowposition.Anytime
 
apply(T) - Method in class org.requirementsascode.SystemReaction
 
as(AbstractActor...) - Method in class org.requirementsascode.builder.StepPart
Defines which actors (i.e. user groups) can cause the system to react to the message of this step.
as(AbstractActor) - Method in class org.requirementsascode.builder.UseCasePart
Define a default actor that will be used for each step of the use case, unless it is overwritten by specific actors for the steps (with as).
as(AbstractActor) - Method in class org.requirementsascode.ModelRunner
After you called this method, the runner will only react in steps that have explicitly set the specified actor as one of its actors, or that are declared as "autonomous system reactions".

B

basicFlow() - Method in class org.requirementsascode.builder.UseCasePart
Start the "happy day scenario" where all is fine and dandy.
behavior() - Method in class org.requirementsascode.AbstractActor
Override this method to provide the model for the actor's behavior.
behavior() - Method in class org.requirementsascode.Actor
 
build() - Method in class org.requirementsascode.builder.FlowlessSystemPart
Returns the model that has been built.
build() - Method in class org.requirementsascode.builder.FlowlessToPart
Returns the model that has been built.
build() - Method in class org.requirementsascode.builder.ModelBuilder
Returns the model built so far.
build() - Method in class org.requirementsascode.builder.StepSystemPart
Returns the model built so far.
build() - Method in class org.requirementsascode.builder.StepToPart
Returns the model built so far.
build() - Method in class org.requirementsascode.builder.UseCasePart
Returns the model that has been built.
builder() - Static method in class org.requirementsascode.Model
The only way to build a model and its parts is to use the builder returned by this method.

C

canReactTo(Class<? extends Object>) - Method in class org.requirementsascode.ModelRunner
Returns whether at least one step can react to a message of the specified class.
condition(Condition) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Constrains the condition for triggering a system reaction: only if the specified condition is true, a system reaction can be triggered.
condition(Condition) - Method in class org.requirementsascode.builder.FlowlessToPart
Constrains the condition for triggering a system reaction: only if the specified condition is true, a system reaction can be triggered.
condition(Condition) - Method in class org.requirementsascode.builder.FlowPart
Constrains the flow's condition: only if the specified condition is true, the flow is started.
condition(Condition) - Method in class org.requirementsascode.builder.FlowPositionPart
Constrains the flow's condition: only if the specified condition is true as well (beside the flow position), the flow is started.
condition(Condition) - Method in class org.requirementsascode.builder.ModelBuilder
Only if the specified condition is true, the message is handled.
condition(Condition) - Method in class org.requirementsascode.builder.UseCasePart
Constrains the condition for triggering a system reaction: only if the specified condition is true, a system reaction can be triggered.
Condition - Interface in org.requirementsascode
A condition, as part of a model.
continuesAfter(String) - Method in class org.requirementsascode.builder.StepAsPart
Makes the model runner continue after the specified step.
continuesAfter(String) - Method in class org.requirementsascode.builder.StepPart
Makes the model runner continue after the specified step.
ContinuesAfter - Class in org.requirementsascode.systemreaction
 
ContinuesAfter(String, UseCase) - Constructor for class org.requirementsascode.systemreaction.ContinuesAfter
 
continuesAt(String) - Method in class org.requirementsascode.builder.StepAsPart
Makes the model runner continue at the specified step.
continuesAt(String) - Method in class org.requirementsascode.builder.StepPart
Makes the model runner continue at the specified step.
ContinuesAt - Class in org.requirementsascode.systemreaction
 
ContinuesAt(String, UseCase) - Constructor for class org.requirementsascode.systemreaction.ContinuesAt
 
continuesWithoutAlternativeAt(String) - Method in class org.requirementsascode.builder.StepAsPart
Makes the model runner continue at the specified step.
continuesWithoutAlternativeAt(String) - Method in class org.requirementsascode.builder.StepPart
Makes the model runner continue at the specified step.
ContinuesWithoutAlternativeAt - Class in org.requirementsascode.systemreaction
 
ContinuesWithoutAlternativeAt(String, FlowStep) - Constructor for class org.requirementsascode.systemreaction.ContinuesWithoutAlternativeAt
 
createRunnerWithBehaviorIfPresent() - Method in class org.requirementsascode.AbstractActor
 

E

ElementAlreadyInModel - Exception in org.requirementsascode.exception
Exception that is thrown when somebody tries to create a new model element, and a model element with the same name is already in the model.
ElementAlreadyInModel(String) - Constructor for exception org.requirementsascode.exception.ElementAlreadyInModel
 
equals(Object) - Method in class org.requirementsascode.AbstractActor
 
evaluate() - Method in interface org.requirementsascode.Condition
 
EventQueue - Class in org.requirementsascode.queue
A simple event queue that forwards events to an event consumer, one at a time.
EventQueue(Consumer<Object>) - Constructor for class org.requirementsascode.queue.EventQueue
Create an event queue whose events will be consumed by the specified consumer.

F

findActor(String) - Method in class org.requirementsascode.Model
Finds the actor with the specified name, contained in this model.
findFlow(String) - Method in class org.requirementsascode.UseCase
Finds the flow with the specified name, contained in this use case.
findStep(String) - Method in class org.requirementsascode.UseCase
Finds the step with the specified name, contained in this use case.
findUseCase(String) - Method in class org.requirementsascode.Model
Finds the use case with the specified name, contained in this model.
flow(String) - Method in class org.requirementsascode.builder.StepSystemPart
Creates a new flow in the current use case.
flow(String) - Method in class org.requirementsascode.builder.StepToPart
Creates a new flow in the current use case.
flow(String) - Method in class org.requirementsascode.builder.UseCasePart
Start a flow with the specified name.
Flow - Class in org.requirementsascode
A flow defines a sequence of steps that lead the user through a use case.
FlowConditionPart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
FlowlessConditionPart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
FlowlessStep - Class in org.requirementsascode
A step that is not part of a flow (i.e. no flow definition in the model).
FlowlessStepPart - Class in org.requirementsascode.builder
 
FlowlessSystemPart<T> - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
FlowlessToPart - Class in org.requirementsascode.builder
 
flowlessToPart(StepSystemPart<?>, AbstractActor, long) - Static method in class org.requirementsascode.builder.FlowlessToPart
 
FlowlessUserPart<T> - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
FlowPart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
FlowPosition - Class in org.requirementsascode.flowposition
 
FlowPosition(FlowStep) - Constructor for class org.requirementsascode.flowposition.FlowPosition
 
FlowPositionPart - Class in org.requirementsascode.builder
 
FlowStep - Class in org.requirementsascode
 

G

getActors() - Method in class org.requirementsascode.Model
Returns the actors contained in this model.
getActors() - Method in class org.requirementsascode.Step
 
getBasicFlow() - Method in class org.requirementsascode.UseCase
The basic flow defines the 'happy day scenario' of the use case: no exceptions are handled in it, all steps are assumed to go well.
getCondition() - Method in class org.requirementsascode.Flow
Convenience method that returns the condition of the flow.
getCondition() - Method in class org.requirementsascode.Step
 
getCondition() - Method in class org.requirementsascode.StepToBeRun
Returns the precondition that needs to be true to trigger the system reaction when StepToBeRun.run() is called.
getFirstStep() - Method in class org.requirementsascode.Flow
Returns the first step of the flow
getFlow() - Method in class org.requirementsascode.FlowStep
 
getFlowPosition() - Method in class org.requirementsascode.Flow
Convenience method that returns the position of the flow (as defined e.g. by "InsteadOf").
getFlowPosition() - Method in class org.requirementsascode.FlowStep
 
getFlows() - Method in class org.requirementsascode.UseCase
Returns the flows contained in this use case.
getLatestFlow() - Method in class org.requirementsascode.ModelRunner
Returns the flow the latest step that has been run is contained in.
getLatestStep() - Method in class org.requirementsascode.ModelRunner
Returns the latest step that has been run by this runner.
getMessage() - Method in class org.requirementsascode.StepToBeRun
Returns the message object that will be passed to the system reaction when StepToBeRun.run() is called.
getMessageClass() - Method in class org.requirementsascode.Step
 
getModelObject() - Method in class org.requirementsascode.SystemReaction
 
getModelRunner() - Method in class org.requirementsascode.AbstractActor
Call this method from a subclass to customize the way the actor runs the behavior.
getName() - Method in class org.requirementsascode.AbstractActor
Returns the name of the actor.
getPredicate() - Method in class org.requirementsascode.FlowlessStep
 
getPredicate() - Method in class org.requirementsascode.InterruptableFlowStep
 
getPredicate() - Method in class org.requirementsascode.InterruptingFlowStep
 
getPredicate() - Method in class org.requirementsascode.Step
 
getPreviousStepInFlow() - Method in class org.requirementsascode.FlowStep
 
getPublishTo() - Method in class org.requirementsascode.Step
 
getReactToTypes() - Method in class org.requirementsascode.ModelRunner
Returns the classes of messages the runner can react to.
getReactWhile() - Method in class org.requirementsascode.FlowStep
 
getRecordedMessages() - Method in class org.requirementsascode.ModelRunner
Returns the recorded messages that the runner reacted to so far.
getRecordedStepNames() - Method in class org.requirementsascode.ModelRunner
Returns the recorded names of the steps that have been run so far.
getSize() - Method in class org.requirementsascode.queue.EventQueue
 
getStep() - Method in class org.requirementsascode.flowposition.FlowPosition
 
getStepName() - Method in class org.requirementsascode.StepToBeRun
Returns the name of the step whose system reaction is performed when StepToBeRun.run() is called.
getStepName() - Method in class org.requirementsascode.systemreaction.AbstractContinues
 
getSteps() - Method in class org.requirementsascode.Flow
Returns the steps contained in this flow.
getSteps() - Method in class org.requirementsascode.Model
Returns the steps of use cases contained in this model.
getSteps() - Method in class org.requirementsascode.UseCase
Returns the steps contained in this use case.
getStepsOf(UseCase) - Method in class org.requirementsascode.AbstractActor
Returns the steps this actor is connected with, for the specified use case.
getStepsThatCanReactTo(Class<? extends Object>) - Method in class org.requirementsascode.ModelRunner
Returns the steps in the model that can react to the specified message class.
getSystemActor() - Method in class org.requirementsascode.Model
Returns the actor representing the system.
getSystemReaction() - Method in class org.requirementsascode.Step
 
getSystemReaction() - Method in class org.requirementsascode.StepToBeRun
Returns the system reaction to be executed when StepToBeRun.run() is called.
getUseCase() - Method in class org.requirementsascode.Flow
Returns the use case this flow is part of.
getUseCase() - Method in class org.requirementsascode.Step
 
getUseCases() - Method in class org.requirementsascode.AbstractActor
Returns the use cases this actor is associated with, as an external user.
getUseCases() - Method in class org.requirementsascode.Model
Returns the use cases contained in this model.
getUserActor() - Method in class org.requirementsascode.Model
Returns the actor representing the default user.

H

handleException(Exception) - Method in class org.requirementsascode.ModelRunner
Overwrite this method to control what happens exactly when an exception is thrown by a system reaction.
handleUnhandledWith(Consumer<Object>) - Method in class org.requirementsascode.ModelRunner
Define handler for messages that the runner doesn't react to.
handleWith(Consumer<StepToBeRun>) - Method in class org.requirementsascode.ModelRunner
Define a custom message handler.
hasActor(String) - Method in class org.requirementsascode.Model
Checks whether this model contains the specified actor.
hasFlow(String) - Method in class org.requirementsascode.UseCase
Checks whether this use case contains the specified flow.
hashCode() - Method in class org.requirementsascode.AbstractActor
 
hasStep(String) - Method in class org.requirementsascode.UseCase
Checks whether this use case contains the specified step.
hasUseCase(String) - Method in class org.requirementsascode.Model
Checks whether this model contains the specified use case.

I

IgnoresIt<T> - Class in org.requirementsascode.systemreaction
 
IgnoresIt() - Constructor for class org.requirementsascode.systemreaction.IgnoresIt
 
InfiniteRepetition - Exception in org.requirementsascode.exception
Exception that is thrown when internally, a StackOverflowException occurs.
InfiniteRepetition(Step) - Constructor for exception org.requirementsascode.exception.InfiniteRepetition
 
insteadOf(String) - Method in class org.requirementsascode.builder.FlowPart
Starts the flow as an alternative to the specified step, in this flow's use case.
InsteadOf - Class in org.requirementsascode.flowposition
 
InsteadOf(FlowStep) - Constructor for class org.requirementsascode.flowposition.InsteadOf
 
InterruptableFlowStep - Class in org.requirementsascode
An interruptable flow step is either the first step of a flow without a user specified condition, or a step that is not the first step (in any flow).
InterruptingFlowStep - Class in org.requirementsascode
 
isEmpty() - Method in class org.requirementsascode.queue.EventQueue
Returns whether this queue is empty.
isRunnerAtRightPositionFor(FlowStep, ModelRunner) - Method in class org.requirementsascode.flowposition.After
 
isRunnerAtRightPositionFor(FlowStep, ModelRunner) - Method in class org.requirementsascode.flowposition.Anytime
 
isRunnerAtRightPositionFor(FlowStep, ModelRunner) - Method in class org.requirementsascode.flowposition.FlowPosition
 
isRunnerAtRightPositionFor(FlowStep, ModelRunner) - Method in class org.requirementsascode.flowposition.InsteadOf
 
isRunning() - Method in class org.requirementsascode.ModelRunner
Returns whether the runner is currently running.

M

MissingUseCaseStepPart - Exception in org.requirementsascode.exception
Exception that is thrown when the model runner tries to to access a certain part of a step, but that part does not exist.
MissingUseCaseStepPart(Step, String) - Constructor for exception org.requirementsascode.exception.MissingUseCaseStepPart
 
Model - Class in org.requirementsascode
A model is a container for events/commands and the system reactions that handle them.
ModelBuilder - Class in org.requirementsascode.builder
Class that builds a Model, in a fluent way.
ModelBuilder(Model) - Constructor for class org.requirementsascode.builder.ModelBuilder
 
ModelRunner - Class in org.requirementsascode
A model runner is a highly configurable controller that receives messages and conditionally calls methods that handle them (the "system reactions").
ModelRunner() - Constructor for class org.requirementsascode.ModelRunner
Constructor for creating a model runner.
ModelRunner.As - Class in org.requirementsascode
 
MoreThanOneStepCanReact - Exception in org.requirementsascode.exception
Exception that is thrown when more than one step could react to a certain message.
MoreThanOneStepCanReact(Collection<Step>) - Constructor for exception org.requirementsascode.exception.MoreThanOneStepCanReact
 

N

newFlow(String) - Method in class org.requirementsascode.UseCase
Creates a new flow in this use case.
newFlowlessStep(String, Condition) - Method in class org.requirementsascode.UseCase
Creates a step that is independent of a flow.
newInterruptableFlowStep(String, Flow) - Method in class org.requirementsascode.UseCase
Creates a step that can be "interrupted", that is: interrupting steps are performed instead of this step when their flow position is correct and their condition is fulfilled.
newInterruptingFlowStep(String, Flow, FlowPosition, Condition) - Method in class org.requirementsascode.UseCase
Creates a new step that can interrupt other flows.
newUseCase(String) - Method in class org.requirementsascode.Model
 
NoSuchElementInModel - Exception in org.requirementsascode.exception
Exception that is thrown when an element should be in the model because it is referenced from somewhere, but it can't be found.
NoSuchElementInModel(String) - Constructor for exception org.requirementsascode.exception.NoSuchElementInModel
 

O

on(Class<T>) - Method in class org.requirementsascode.builder.FlowlessConditionPart
Defines the type of messages or exceptions that will cause a system reaction, given that the condition is fulfilled.
on(Class<T>) - Method in class org.requirementsascode.builder.FlowlessStepPart
Defines the type of system event objects or exceptions that this step handles.
on(Class<U>) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Defines the type of messages or exceptions that will cause a system reaction.
on(Class<U>) - Method in class org.requirementsascode.builder.FlowlessToPart
Defines the type of messages or exceptions that will cause a system reaction.
on(Class<T>) - Method in class org.requirementsascode.builder.ModelBuilder
Creates a handler for messages or exceptions of the specified type.
on(Class<T>) - Method in class org.requirementsascode.builder.StepPart
Defines the type of system event objects or exceptions that this step handles.
on(Class<T>) - Method in class org.requirementsascode.builder.UseCasePart
Defines the type of events or exceptions that will cause a system reaction.
orAfter(FlowStep) - Method in class org.requirementsascode.flowposition.FlowPosition
 
orAfter(FlowStep) - Method in class org.requirementsascode.FlowStep
 
org.requirementsascode - package org.requirementsascode
Core package of requirementsascode, containing everything you need to create a model and run it.
org.requirementsascode.builder - package org.requirementsascode.builder
 
org.requirementsascode.exception - package org.requirementsascode.exception
Exception package of requirementsascode, containing all the exceptions that are thrown by requirementsascode during model creation and running.
org.requirementsascode.flowposition - package org.requirementsascode.flowposition
 
org.requirementsascode.queue - package org.requirementsascode.queue
 
org.requirementsascode.systemreaction - package org.requirementsascode.systemreaction
 

P

publishWith(Consumer<Object>) - Method in class org.requirementsascode.ModelRunner
Define a custom publisher for events.
put(Object) - Method in class org.requirementsascode.queue.EventQueue
Puts an event in the queue, that will be provided to the consumer (if the event queue hasn't been stopped).

R

reactTo(T) - Method in class org.requirementsascode.AbstractActor
Call this method to provide a message (i.e. command or event object) to the actor.
reactTo(Object, AbstractActor) - Method in class org.requirementsascode.AbstractActor
Same as AbstractActor.reactTo(Object), but with the specified actor as the calling user's role.
reactTo(T) - Method in class org.requirementsascode.ModelRunner.As
 
reactTo(Object...) - Method in class org.requirementsascode.ModelRunner.As
 
reactTo(Object...) - Method in class org.requirementsascode.ModelRunner
Call this method to provide several messages to the runner.
reactTo(T) - Method in class org.requirementsascode.ModelRunner
Call this method to provide a message (i.e. command or event object) to the runner.
reactWhile(Condition) - Method in class org.requirementsascode.builder.StepSystemPart
React to this step's message as long as the condition is fulfilled.
reactWhile(Condition) - Method in class org.requirementsascode.builder.StepToPart
React to this step's message as long as the condition is fulfilled.
restart() - Method in class org.requirementsascode.ModelRunner
Restarts the runner, resetting it to its original defaults ("no flow has been run, no step has been run").
run(Model) - Method in class org.requirementsascode.ModelRunner.As
 
run(Model) - Method in class org.requirementsascode.ModelRunner
Configures the runner to use the specified model.
run() - Method in class org.requirementsascode.StepToBeRun
Triggers the system reaction of this step, and publishes the resulting event.

S

setActors(AbstractActor[]) - Method in class org.requirementsascode.Step
 
setLatestStep(Step) - Method in class org.requirementsascode.ModelRunner
Sets the latest step run by the runner.
setMessageClass(Class<?>) - Method in class org.requirementsascode.Step
 
setPublishTo(AbstractActor) - Method in class org.requirementsascode.Step
 
setReactWhile(Condition) - Method in class org.requirementsascode.FlowStep
 
setSystemReaction(Runnable) - Method in class org.requirementsascode.Step
 
setSystemReaction(Consumer<? super T>) - Method in class org.requirementsascode.Step
 
setSystemReaction(Function<? super T, ?>) - Method in class org.requirementsascode.Step
 
setSystemReaction(Supplier<? super T>) - Method in class org.requirementsascode.Step
 
startRecording() - Method in class org.requirementsascode.ModelRunner
After calling this method, until recording is stopped, messages and step names are recorded.
step(String) - Method in class org.requirementsascode.builder.FlowConditionPart
Creates the first step of this flow.
step(String) - Method in class org.requirementsascode.builder.FlowlessConditionPart
Creates a named step.
step(String) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Creates a named step.
step(String) - Method in class org.requirementsascode.builder.FlowlessToPart
Creates a named step.
step(String) - Method in class org.requirementsascode.builder.FlowPart
Creates the first step of this flow, without specifying position or condition.
step(String) - Method in class org.requirementsascode.builder.FlowPositionPart
Creates the first step of this flow.
step(String) - Method in class org.requirementsascode.builder.ModelBuilder
Creates a named step.
step(String) - Method in class org.requirementsascode.builder.StepSystemPart
Creates a new step in this flow, with the specified name, that follows the current step in sequence.
step(String) - Method in class org.requirementsascode.builder.StepToPart
Creates a new step in this flow, with the specified name, that follows the current step in sequence.
step(String) - Method in class org.requirementsascode.builder.StepUserPart
Creates a new step in this flow, with the specified name, that follows the current step in sequence.
step(String) - Method in class org.requirementsascode.builder.UseCasePart
Creates a named step.
Step - Class in org.requirementsascode
A step is a part of a use case.
StepAsPart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
StepPart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
StepSystemPart<T> - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
StepToBeRun - Class in org.requirementsascode
Use an instance of this class if you want to find out the details about the step to be run in a custom message handler, and to trigger the system reaction.
StepToPart<T> - Class in org.requirementsascode.builder
 
stepToPart(StepSystemPart<T>, AbstractActor) - Static method in class org.requirementsascode.builder.StepToPart
 
StepUserPart<T> - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
stop() - Method in class org.requirementsascode.ModelRunner
Stops the runner.
stop() - Method in class org.requirementsascode.queue.EventQueue
Stop providing events to the consumer.
stopRecording() - Method in class org.requirementsascode.ModelRunner
When calling this method, recording is stopped.
system(Runnable) - Method in class org.requirementsascode.builder.FlowlessConditionPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
system(Runnable) - Method in class org.requirementsascode.builder.FlowlessStepPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
system(Consumer<? super T>) - Method in class org.requirementsascode.builder.FlowlessUserPart
Defines the system reaction.
system(Runnable) - Method in class org.requirementsascode.builder.FlowlessUserPart
Defines the system reaction.
system(Runnable) - Method in class org.requirementsascode.builder.StepAsPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
system(Runnable) - Method in class org.requirementsascode.builder.StepPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
system(Consumer<? super T>) - Method in class org.requirementsascode.builder.StepUserPart
Defines the system reaction.
system(Runnable) - Method in class org.requirementsascode.builder.StepUserPart
Defines the system reaction.
systemPublish(Supplier<?>) - Method in class org.requirementsascode.builder.FlowlessConditionPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
systemPublish(Supplier<?>) - Method in class org.requirementsascode.builder.FlowlessStepPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
systemPublish(Function<? super T, ?>) - Method in class org.requirementsascode.builder.FlowlessUserPart
Defines the system reaction.
systemPublish(Supplier<? super T>) - Method in class org.requirementsascode.builder.FlowlessUserPart
Defines the system reaction.
systemPublish(Supplier<?>) - Method in class org.requirementsascode.builder.StepAsPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
systemPublish(Supplier<?>) - Method in class org.requirementsascode.builder.StepPart
Defines an "autonomous system reaction", meaning the system will react without needing a message provided via ModelRunner.reactTo(Object).
systemPublish(Function<? super T, ?>) - Method in class org.requirementsascode.builder.StepUserPart
Defines the system reaction.
SystemReaction<T> - Class in org.requirementsascode
An instance of this class represents a system reaction as a function, even if it has been specified as a Consumer or Runnable by the user of the library.

T

test(ModelRunner) - Method in class org.requirementsascode.flowposition.FlowPosition
 
to(AbstractActor) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Specifies the recipient of the message.
to(AbstractActor) - Method in class org.requirementsascode.builder.StepSystemPart
Specifies the recipient of the message.
toPredicate(Condition) - Static method in class org.requirementsascode.Step
 
toString() - Method in class org.requirementsascode.AbstractActor
 

U

useCase(String) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Creates a new use case in the current model, and returns a part for building its details.
useCase(String) - Method in class org.requirementsascode.builder.FlowlessToPart
Creates a new use case in the current model, and returns a part for building its details.
useCase(String) - Method in class org.requirementsascode.builder.ModelBuilder
Creates a new use case in the current model, and returns a part for building its details.
useCase(String) - Method in class org.requirementsascode.builder.StepSystemPart
Creates a new use case in the current model.
useCase(String) - Method in class org.requirementsascode.builder.StepToPart
Creates a new use case in the current model.
UseCase - Class in org.requirementsascode
A use case, as part of a model.
UseCasePart - Class in org.requirementsascode.builder
Part used by the ModelBuilder to build a Model.
user(Class<T>) - Method in class org.requirementsascode.builder.FlowlessConditionPart
Defines the type of user commands that this step accepts.
user(Class<T>) - Method in class org.requirementsascode.builder.FlowlessStepPart
Defines the type of user commands that this step accepts.
user(Class<U>) - Method in class org.requirementsascode.builder.FlowlessSystemPart
Defines the type of commands that will cause a system reaction.
user(Class<U>) - Method in class org.requirementsascode.builder.FlowlessToPart
Defines the type of commands that will cause a system reaction.
user(Class<T>) - Method in class org.requirementsascode.builder.ModelBuilder
Creates a handler for commands of the specified type.
user(Class<T>) - Method in class org.requirementsascode.builder.StepAsPart
Defines the type of user commands that this step accepts.
user(Class<T>) - Method in class org.requirementsascode.builder.StepPart
Defines the type of user command objects that this step accepts.
user(Class<T>) - Method in class org.requirementsascode.builder.UseCasePart
Defines the type of commands that will cause a system reaction.

W

withBehavior(Model) - Method in class org.requirementsascode.Actor
Attach the specified behavior to the actor.
A B C E F G H I M N O P R S T U W 
Skip navigation links