Class UsageScenarioCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
org.palladiosimulator.generator.fluent.usagemodel.structure.components.UsageScenarioCreator
This class constructs a
Usage
Scenario
. It is used to create the 'Usage Scenario' object step-by-step, i.e.
'UsageScenarioCreator' objects are of intermediate state.- See Also:
-
UsageScenario
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
usageModelCreator
-
Constructor Summary
ConstructorDescriptionUsageScenarioCreator
(UsageModelCreator usgModelCreator, ScenarioBehaviourCreator scenBehave, WorkloadCreator work) Instantiates a new usage scenario creator. -
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.usagemodel.UsageScenario
build()
Turns the entity in the making into the finished entity.Defines the unique name of this current entity.
-
Constructor Details
-
UsageScenarioCreator
public UsageScenarioCreator(UsageModelCreator usgModelCreator, ScenarioBehaviourCreator scenBehave, WorkloadCreator work) Instantiates a new usage scenario creator.UsageScenarios are concurrently executed behaviours of users within one UsageModel. It describes which services are directly invoked by users in one specific use case and models the possible sequences of calling them. Each UsageScenario includes a workload and a scenario behaviour.
- Parameters:
usgModelCreator
- the usage model creatorscenBehave
- the scenario behaviourwork
- the workload creator- See Also:
-
UsageScenario
ScenarioBehaviour
-
-
Method Details
-
build
public org.palladiosimulator.pcm.usagemodel.UsageScenario build()Description copied from class:Entity
Turns the entity in the making into the finished entity. -
withName
Description copied from class:Entity
Defines the unique name of this current entity. Once created entities are referenced by this name. Only entities with a unique name can be fetched from the model.
-