Class EventChannelCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.system.structure.SystemEntity
-
- org.palladiosimulator.generator.fluent.system.structure.EventChannelCreator
-
public class EventChannelCreator extends SystemEntity
This class constructs anEventChannel.- See Also:
EventChannel
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description EventChannelCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.EventChannelbuild()Turns the entity in the making into the finished entity.EventChannelCreatorwithEventGroup(String name)Defines theEventGroupof this event channel.EventChannelCreatorwithEventGroup(org.palladiosimulator.pcm.repository.EventGroup eventGroup)Defines theEventGroupof this event channel.EventChannelCreatorwithName(String name)Defines the unique name of this current entity.
-
-
-
Constructor Detail
-
EventChannelCreator
public EventChannelCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withEventGroup
public EventChannelCreator withEventGroup(org.palladiosimulator.pcm.repository.EventGroup eventGroup)
Defines theEventGroupof this event channel.- Parameters:
component-- Returns:
- this event group
- See Also:
EventGroup
-
withEventGroup
public EventChannelCreator withEventGroup(String name) throws NoSuchElementException
Defines theEventGroupof this event channel. The repositories added to the org.palladiosimulator.generator.fluent.system are searched for an event group that matches the given name.- Parameters:
component-- Returns:
- this event group
- Throws:
NoSuchElementException- Thrown if no element matches the given name- See Also:
EventGroup
-
build
public org.palladiosimulator.pcm.core.composition.EventChannel build()
Description copied from class:EntityTurns the entity in the making into the finished entity.
-
withName
public EventChannelCreator withName(String name)
Description copied from class:EntityDefines 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.
-
-