Class RequiredInfrastructureDelegationConnectorCreator
- 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.RequiredInfrastructureDelegationConnectorCreator
-
public class RequiredInfrastructureDelegationConnectorCreator extends AbstractConnectorCreator
This class constructs aRequiredInfrastructureDelegationConnector.- See Also:
RequiredInfrastructureDelegationConnector
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description RequiredInfrastructureDelegationConnectorCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.RequiredInfrastructureDelegationConnectorbuild()Turns the entity in the making into the finished entity.RequiredInfrastructureDelegationConnectorCreatorwithName(String name)Defines the unique name of this current entity.RequiredInfrastructureDelegationConnectorCreatorwithOuterRequiredRole(String name)Defines theInfrastructureRequiredRoleof the system, delegated to an AssemblyContext.RequiredInfrastructureDelegationConnectorCreatorwithOuterRequiredRole(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)Defines theInfrastructureRequiredRoleof the system, delegated to an AssemblyContext.InfrastructureRequiredRoleSelector<RequiredInfrastructureDelegationConnectorCreator>withRequiringContext(String name)Defines theAssemblyContextwith the required role.InfrastructureRequiredRoleSelector<RequiredInfrastructureDelegationConnectorCreator>withRequiringContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)Defines theAssemblyContextwith the required role.
-
-
-
Constructor Detail
-
RequiredInfrastructureDelegationConnectorCreator
public RequiredInfrastructureDelegationConnectorCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withOuterRequiredRole
public RequiredInfrastructureDelegationConnectorCreator withOuterRequiredRole(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole role)
Defines theInfrastructureRequiredRoleof the system, delegated to an AssemblyContext.- Parameters:
role-- Returns:
- this connector
- See Also:
InfrastructureRequiredRole
-
withOuterRequiredRole
public RequiredInfrastructureDelegationConnectorCreator withOuterRequiredRole(String name) throws NoSuchElementException
Defines theInfrastructureRequiredRoleof the system, delegated to an AssemblyContext. The required roles added to the system are searched for one that matches the given name.- Parameters:
role-- Returns:
- this connector
- Throws:
NoSuchElementException- Thrown if no element matches the given name.- See Also:
InfrastructureRequiredRole
-
withRequiringContext
public InfrastructureRequiredRoleSelector<RequiredInfrastructureDelegationConnectorCreator> withRequiringContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContextwith the required role.- Parameters:
context-- Returns:
- this connector
- See Also:
AssemblyContext,InfrastructureRequiredRole
-
withRequiringContext
public InfrastructureRequiredRoleSelector<RequiredInfrastructureDelegationConnectorCreator> withRequiringContext(String name)
Defines theAssemblyContextwith the required role. The assembly contexts added to the 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
-
build
public org.palladiosimulator.pcm.core.composition.RequiredInfrastructureDelegationConnector 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 RequiredInfrastructureDelegationConnectorCreator 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.
-
-