Class StartActionCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.StartActionCreator
This class constructs a
Start
. It is used to
create the 'Start' object step-by-step, i.e. 'StartActionCreator'
objects are of intermediate state.- See Also:
-
Start
AbstractUserAction
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
successor
Fields inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.UsageModelEntity
usageModelCreator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.usagemodel.AbstractUserAction
build()
Turns the entity in the making into the finished entity.Defines the unique name of this current entity.withSuccessor
(ActionCreator action) Adds anAbstract User Action
as successor.Methods inherited from class org.palladiosimulator.generator.fluent.usagemodel.structure.components.actions.ActionCreator
getSuccessor
-
Constructor Details
-
StartActionCreator
public StartActionCreator()
-
-
Method Details
-
build
public org.palladiosimulator.pcm.usagemodel.AbstractUserAction build()Description copied from class:Entity
Turns the entity in the making into the finished entity.- Specified by:
build
in classActionCreator
- Returns:
- the finished entity
-
withSuccessor
Description copied from class:ActionCreator
Adds anAbstract User Action
as successor.Create a new action by using the org.palladiosimulator.generator.fluent.usagemodel.factory, i.e.
create.newBranchAction()
.- Overrides:
withSuccessor
in classActionCreator
- Parameters:
action
- in the making- Returns:
- the current action in the making
- See Also:
-
AbstractUserAction
-
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.- Overrides:
withName
in classActionCreator
- Returns:
- this current entity in the making
-