Class AbstractUIBasedConfigurationBuilder<ConfigurationType extends AbstractJobConfiguration>

java.lang.Object
de.uka.ipd.sdq.workflow.launchconfig.configbuilder.AbstractUIBasedConfigurationBuilder<ConfigurationType>
Type Parameters:
ConfigurationType - Type of the configuration object this builder is going to build

public abstract class AbstractUIBasedConfigurationBuilder<ConfigurationType extends AbstractJobConfiguration> extends Object
Base class for all builder classes which take an Eclipse ILaunchConfig or its contained attributes map and convert it into a configuration object of the ConfigurationType.
  • Constructor Details

    • AbstractUIBasedConfigurationBuilder

      public AbstractUIBasedConfigurationBuilder(Map<String,Object> attributes)
      Constructor of the configuration object builder.
      Parameters:
      attributes - The key-value pairs used to configure the produced object
  • Method Details

    • build

      public ConfigurationType build()
      Builds the configuration object.
      Returns:
      A configuration object containing the typed configuration options
    • internalBuild

      protected abstract ConfigurationType internalBuild(Map<String,Object> attributes)
      Called as template method to fill the given object according to the provided map.
      Parameters:
      attributes - The map to use for filling the configuration options
      Returns:
      the configuration type