Class ProvidedInfrastructureDelegationConnectorCreator


public class ProvidedInfrastructureDelegationConnectorCreator extends AbstractConnectorCreator
This class constructs a ProvidedInfrastructureDelegationConnector.
See Also:
  • ProvidedInfrastructureDelegationConnector
  • Constructor Details

    • ProvidedInfrastructureDelegationConnectorCreator

      public ProvidedInfrastructureDelegationConnectorCreator(SystemCreator systemCreator)
  • Method Details

    • withOuterProvidedRole

      public ProvidedInfrastructureDelegationConnectorCreator withOuterProvidedRole(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole role)
      Defines the InfrastructureProvidedRole of the system, delegated to an AssemblyContext.
      Parameters:
      role -
      Returns:
      this connector
      See Also:
      • InfrastructureProvidedRole
    • withOuterProvidedRole

      Defines the InfrastructureProvidedRole of 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 the AssemblyContext with the provided role.
      Parameters:
      context -
      Returns:
      this connector
      See Also:
      • AssemblyContext
      • InfrastructureProvidedRole
    • withProvidingContext

      Defines the AssemblyContext with 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: Entity
      Turns the entity in the making into the finished entity.
      Specified by:
      build in class AbstractConnectorCreator
      Returns:
      the finished entity
    • withName

      Description copied from class: Entity
      Defines 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.
      Overrides:
      withName in class Entity
      Returns:
      this current entity in the making