Class EmitEventActionCreator
java.lang.Object
org.palladiosimulator.generator.fluent.shared.structure.Entity
org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
org.palladiosimulator.generator.fluent.repository.structure.components.seff.EmitEventActionCreator
This class constructs an
EmitEventAction
.
It is used to create the 'EmitEventAction' object step-by-step, i.e.
'EmitEventActionCreator' objects are of intermediate state.- See Also:
-
EmitEventAction
-
Field Summary
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
seff
Fields inherited from class org.palladiosimulator.generator.fluent.repository.structure.RepositoryEntity
repository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.palladiosimulator.pcm.seff.EmitEventAction
build()
Turns the entity in the making into the finished entity.withEventType
(org.palladiosimulator.pcm.repository.EventType eventType) Specifies theeventType
that is emitted by this action.withInputVariableUsage
(VariableUsageCreator variableUsage) Adds thevariableUsage
to this action's list of input variable usages.Defines the unique name of this current entity.withSourceRole
(org.palladiosimulator.pcm.repository.SourceRole sourceRole) Specifies thesourceRole
that is triggered by this action.Methods inherited from class org.palladiosimulator.generator.fluent.repository.structure.components.seff.SeffAction
followedBy
-
Constructor Details
-
EmitEventActionCreator
-
-
Method Details
-
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. -
withEventType
public EmitEventActionCreator withEventType(org.palladiosimulator.pcm.repository.EventType eventType) Specifies theeventType
that is emitted by this action.An existing
eventType
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfEventType(name)
.- Parameters:
eventType
-- Returns:
- this emit event action in the making
- See Also:
-
withSourceRole
public EmitEventActionCreator withSourceRole(org.palladiosimulator.pcm.repository.SourceRole sourceRole) Specifies thesourceRole
that is triggered by this action.An existing
sourceRole
can be fetched from the repository using the org.palladiosimulator.generator.fluent.component.factory, i.e.create.fetchOfSourceRole(name)
.- Parameters:
sourceRole
-- Returns:
- this emit event action in the making
- See Also:
-
build
protected org.palladiosimulator.pcm.seff.EmitEventAction build()Description copied from class:Entity
Turns the entity in the making into the finished entity.- Specified by:
build
in classSeffAction
- Returns:
- the finished entity
-