Class EventChannelSinkConnectorCreator
- java.lang.Object
-
- org.palladiosimulator.generator.fluent.shared.structure.Entity
-
- org.palladiosimulator.generator.fluent.system.structure.SystemEntity
-
- org.palladiosimulator.generator.fluent.system.structure.connector.AbstractConnectorCreator
-
- org.palladiosimulator.generator.fluent.system.structure.connector.event.EventChannelSinkConnectorCreator
-
public class EventChannelSinkConnectorCreator extends AbstractConnectorCreator
This class constructs anEventChannelSinkConnector.- See Also:
EventChannelSinkConnector
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description EventChannelSinkConnectorCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.EventChannelSinkConnectorbuild()Turns the entity in the making into the finished entity.SinkRoleSelector<EventChannelSinkConnectorCreator>withAssemblyContext(String name)Defines theAssemblyContextwith the sink role.SinkRoleSelector<EventChannelSinkConnectorCreator>withAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)Defines theAssemblyContextwith the sink role.EventChannelSinkConnectorCreatorwithEventChannel(String name)Defines theEventChannelthe sink role is connected to.EventChannelSinkConnectorCreatorwithEventChannel(org.palladiosimulator.pcm.core.composition.EventChannel eventChannel)Defines theEventChannelthe sink role is connected to.EventChannelSinkConnectorCreatorwithName(String name)Defines the unique name of this current entity.
-
-
-
Constructor Detail
-
EventChannelSinkConnectorCreator
public EventChannelSinkConnectorCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withEventChannel
public EventChannelSinkConnectorCreator withEventChannel(org.palladiosimulator.pcm.core.composition.EventChannel eventChannel)
Defines theEventChannelthe sink role is connected to.- Parameters:
eventChannel-- Returns:
- this connector
- See Also:
EventChannel,SinkRole
-
withEventChannel
public EventChannelSinkConnectorCreator withEventChannel(String name) throws NoSuchElementException
Defines theEventChannelthe sink role is connected to. The event channels added to the org.palladiosimulator.generator.fluent.system are searched for one that matches the given name.- Parameters:
name-- Returns:
- this connector
- Throws:
NoSuchElementException- Thrown if no element matches the given name- See Also:
EventChannel,SinkRole
-
withAssemblyContext
public SinkRoleSelector<EventChannelSinkConnectorCreator> withAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext)
Defines theAssemblyContextwith the sink role.- Parameters:
context-- Returns:
- this connector
- See Also:
AssemblyContext,SinkRole
-
withAssemblyContext
public SinkRoleSelector<EventChannelSinkConnectorCreator> withAssemblyContext(String name)
Defines theAssemblyContextwith the sink role. The assembly contexts added to the org.palladiosimulator.generator.fluent.system are searched for one that matches the given name.- Parameters:
name-- Returns:
- this connector
- Throws:
NoSuchElementException- Thrown if no element matches the given name.- See Also:
AssemblyContext,SinkRole
-
build
public org.palladiosimulator.pcm.core.composition.EventChannelSinkConnector build()
Description copied from class:EntityTurns the entity in the making into the finished entity.- Specified by:
buildin classAbstractConnectorCreator- Returns:
- the finished entity
-
withName
public EventChannelSinkConnectorCreator 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.
-
-