Class AssemblyInfrastructureConnectorCreator
- 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.infrastructure.AssemblyInfrastructureConnectorCreator
-
public class AssemblyInfrastructureConnectorCreator extends AbstractConnectorCreator
This class constructs anAssemblyInfrastructureConnector.- See Also:
AssemblyInfrastructureConnector
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description AssemblyInfrastructureConnectorCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnectorbuild()Turns the entity in the making into the finished entity.AssemblyInfrastructureConnectorCreatorwithName(String name)Defines the unique name of this current entity.InfrastructureProvidedRoleSelector<AssemblyInfrastructureConnectorCreator>withProvidingAssemblyContext(String name)Defines theAssemblyContextwith the provided role.InfrastructureProvidedRoleSelector<AssemblyInfrastructureConnectorCreator>withProvidingAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)Defines theAssemblyContextwith the provided role.InfrastructureRequiredRoleSelector<AssemblyInfrastructureConnectorCreator>withRequiringAssemblyContext(String name)Defines theAssemblyContextwith the required role.InfrastructureRequiredRoleSelector<AssemblyInfrastructureConnectorCreator>withRequiringAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)Defines theAssemblyContextwith the required role.
-
-
-
Constructor Detail
-
AssemblyInfrastructureConnectorCreator
public AssemblyInfrastructureConnectorCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withRequiringAssemblyContext
public InfrastructureRequiredRoleSelector<AssemblyInfrastructureConnectorCreator> withRequiringAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContextwith the required role.- Parameters:
context-- Returns:
- this connector
- See Also:
AssemblyContext,InfrastructureRequiredRole
-
withRequiringAssemblyContext
public InfrastructureRequiredRoleSelector<AssemblyInfrastructureConnectorCreator> withRequiringAssemblyContext(String name)
Defines theAssemblyContextwith the required 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,InfrastructureRequiredRole
-
withProvidingAssemblyContext
public InfrastructureProvidedRoleSelector<AssemblyInfrastructureConnectorCreator> withProvidingAssemblyContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContextwith the provided role.- Parameters:
context-- Returns:
- this connector
- See Also:
AssemblyContext,InfrastructureProvidedRole
-
withProvidingAssemblyContext
public InfrastructureProvidedRoleSelector<AssemblyInfrastructureConnectorCreator> withProvidingAssemblyContext(String name)
Defines theAssemblyContextwith the provided 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,InfrastructureProvidedRole
-
build
public org.palladiosimulator.pcm.core.composition.AssemblyInfrastructureConnector 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 AssemblyInfrastructureConnectorCreator 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.
-
-