Class MetricDescriptionRepositoryBuilder

java.lang.Object
org.palladiosimulator.metricspec.util.builder.MetricDescriptionRepositoryBuilder
All Implemented Interfaces:
IMetricspecBuilder<MetricDescriptionRepository>

@Deprecated(forRemoval=true) public class MetricDescriptionRepositoryBuilder extends Object implements IMetricspecBuilder<MetricDescriptionRepository>
Deprecated, for removal: This API element is subject to removal in a future version.
A builder for the model object ' org.palladiosimulator.metricspec.MetricDescriptionRepository'.
Generated class or method.
  • Method Details

    • newMetricDescriptionRepositoryBuilder

      public static MetricDescriptionRepositoryBuilder newMetricDescriptionRepositoryBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method creates a new instance of the MetricDescriptionRepositoryBuilder.
      Returns:
      new instance of the MetricDescriptionRepositoryBuilder
    • newMetricDescriptionRepositoryBuilder

      public static MetricDescriptionRepositoryBuilder newMetricDescriptionRepositoryBuilder(MetricDescriptionRepository p_metricDescriptionRepository)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method creates a new instance of the MetricDescriptionRepositoryBuilder. The builder is initialized using an existing ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object. In order to avoid changes to the provided ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object, a copy is created using org.eclipse.emf.ecore.util.EcoreUtil.Copier.
      Parameters:
      metricDescriptionRepository - The existing ' org.palladiosimulator.metricspec.MetricDescriptionRepository' model object to be used for the initialization of the builder
      Returns:
      new initialized instance of the MetricDescriptionRepositoryBuilder
    • but

      Deprecated, for removal: This API element is subject to removal in a future version.
      This method can be used to override attributes of the builder. It constructs a new builder and copies the current values to it.
    • build

      Deprecated, for removal: This API element is subject to removal in a future version.
      This method constructs the final org.palladiosimulator.metricspec.MetricDescriptionRepository type.
      Specified by:
      build in interface IMetricspecBuilder<MetricDescriptionRepository>
      Returns:
      new instance of the org.palladiosimulator.metricspec.MetricDescriptionRepository type
    • id

      Deprecated, for removal: This API element is subject to removal in a future version.
    • metricDescriptions

      public MetricDescriptionRepositoryBuilder metricDescriptions(MetricDescription p_metricDescriptions)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • metricDescriptions

      public MetricDescriptionRepositoryBuilder metricDescriptions(Collection<? extends MetricDescription> p_metricDescriptions)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • metricDescriptions

      public MetricDescriptionRepositoryBuilder metricDescriptions(IMetricspecBuilder<? extends MetricDescription> p_metricDescriptionBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.