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
-
public class UsageScenarioCreator extends UsageModelEntity
This class constructs aUsage 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
Constructors Constructor Description UsageScenarioCreator(UsageModelCreator usgModelCreator, ScenarioBehaviourCreator scenBehave, WorkloadCreator work)
Instantiates a new usage scenario creator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.usagemodel.UsageScenario
build()
Turns the entity in the making into the finished entity.UsageScenarioCreator
withName(String name)
Defines the unique name of this current entity.
-
-
-
Constructor Detail
-
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 Detail
-
build
public org.palladiosimulator.pcm.usagemodel.UsageScenario build()
Description copied from class:Entity
Turns the entity in the making into the finished entity.
-
withName
public UsageScenarioCreator withName(String name)
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.
-
-