public class ActionRuntimeState extends Object implements IRuntimeStateAccessor
| Modifier and Type | Class and Description |
|---|---|
static class |
ActionRuntimeState.TransientEffectInterpreterBuilder
Implementation of the well-known Builder Pattern for a facilitated construction of
TransientEffectInterpreters with different configurations. |
| Constructor and Description |
|---|
ActionRuntimeState() |
| Modifier and Type | Method and Description |
|---|---|
static ActionRuntimeState.TransientEffectInterpreterBuilder |
getInterpreterBuilder(RoleSet roleSet,
AdaptationBehaviorRepository repository)
Gets a
ActionRuntimeState.TransientEffectInterpreterBuilder which is suitable to construct an
TransientEffectInterpreter with the given arguments. |
void |
setRuntimeStateModel(SimuLizarRuntimeState passedState)
Injects the
SimuLizarRuntimeState which is then used by
#TransientEffectInterpreterBuilder instances to equip themselves for interpreter
creation. |
public static ActionRuntimeState.TransientEffectInterpreterBuilder getInterpreterBuilder(RoleSet roleSet, AdaptationBehaviorRepository repository)
ActionRuntimeState.TransientEffectInterpreterBuilder which is suitable to construct an
TransientEffectInterpreter with the given arguments.roleSet - The RoleSet to be used by the interpreter.repository - The AdaptationBehaviorRepository which contains all available adaptations
to be executed.ActionRuntimeState.TransientEffectInterpreterBuilder instance to construct the interpreter.NullPointerException - In case either argument is null.public void setRuntimeStateModel(SimuLizarRuntimeState passedState)
SimuLizarRuntimeState which is then used by
#TransientEffectInterpreterBuilder instances to equip themselves for interpreter
creation.setRuntimeStateModel in interface IRuntimeStateAccessorThe - SimuLizarRuntimeState to inject.NullPointerException - In case the given instance is null.