- 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".
- 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
-
- 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
-
- 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.
- 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
-
- StepPart - Class in org.requirementsascode.builder
-
- StepSystemPart<T> - Class in org.requirementsascode.builder
-
- 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
-
- 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.
- 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
-
- 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.