Class ProvidedInfrastructureDelegationConnectorCreator
- 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.ProvidedInfrastructureDelegationConnectorCreator
-
public class ProvidedInfrastructureDelegationConnectorCreator extends AbstractConnectorCreator
This class constructs aProvidedInfrastructureDelegationConnector.- See Also:
ProvidedInfrastructureDelegationConnector
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.generator.fluent.system.structure.SystemEntity
system
-
-
Constructor Summary
Constructors Constructor Description ProvidedInfrastructureDelegationConnectorCreator(SystemCreator systemCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.core.composition.ProvidedInfrastructureDelegationConnectorbuild()Turns the entity in the making into the finished entity.ProvidedInfrastructureDelegationConnectorCreatorwithName(String name)Defines the unique name of this current entity.ProvidedInfrastructureDelegationConnectorCreatorwithOuterProvidedRole(String name)Defines theInfrastructureProvidedRoleof the system, delegated to an AssemblyContext.ProvidedInfrastructureDelegationConnectorCreatorwithOuterProvidedRole(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)Defines theInfrastructureProvidedRoleof the system, delegated to an AssemblyContext.InfrastructureProvidedRoleSelector<ProvidedInfrastructureDelegationConnectorCreator>withProvidingContext(String name)Defines theAssemblyContextwith the provided role.InfrastructureProvidedRoleSelector<ProvidedInfrastructureDelegationConnectorCreator>withProvidingContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)Defines theAssemblyContextwith the provided role.
-
-
-
Constructor Detail
-
ProvidedInfrastructureDelegationConnectorCreator
public ProvidedInfrastructureDelegationConnectorCreator(SystemCreator systemCreator)
-
-
Method Detail
-
withOuterProvidedRole
public ProvidedInfrastructureDelegationConnectorCreator withOuterProvidedRole(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)
Defines theInfrastructureProvidedRoleof the system, delegated to an AssemblyContext.- Parameters:
role-- Returns:
- this connector
- See Also:
InfrastructureProvidedRole
-
withOuterProvidedRole
public ProvidedInfrastructureDelegationConnectorCreator withOuterProvidedRole(String name) throws NoSuchElementException
Defines theInfrastructureProvidedRoleof the system, delegated to an AssemblyContext. The provided 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:
InfrastructureProvidedRole
-
withProvidingContext
public InfrastructureProvidedRoleSelector<ProvidedInfrastructureDelegationConnectorCreator> withProvidingContext(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
Defines theAssemblyContextwith the provided role.- Parameters:
context-- Returns:
- this connector
- See Also:
AssemblyContext,InfrastructureProvidedRole
-
withProvidingContext
public InfrastructureProvidedRoleSelector<ProvidedInfrastructureDelegationConnectorCreator> withProvidingContext(String name)
Defines theAssemblyContextwith the provided 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,InfrastructureProvidedRole
-
build
public org.palladiosimulator.pcm.core.composition.ProvidedInfrastructureDelegationConnector 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 ProvidedInfrastructureDelegationConnectorCreator 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.
-
-