Class AbstractReconfigurationLoader

java.lang.Object
org.palladiosimulator.simulizar.reconfiguration.AbstractReconfigurationLoader
All Implemented Interfaces:
Extension
Direct Known Subclasses:
HenshinReconfigurationLoader, QVTOReconfigurationLoader, SDReconfigurationLoader

public abstract class AbstractReconfigurationLoader extends Object implements Extension
This class constitutes the main extension point to load new reconfigurations. It has to be extended in order to add new loaders by specifying reconfiguration specific informations.
  • Field Details

  • Constructor Details

    • AbstractReconfigurationLoader

      public AbstractReconfigurationLoader()
  • Method Details

    • load

      public void load(SimuLizarWorkflowConfiguration configuration)
      The method loads all transformation that are stored in the reconfiguration rules folder.
      Parameters:
      configuration - The configuration object contains the information of the reconfiguration rules location.
    • getTransformations

      public List<ModelTransformation<? extends Object>> getTransformations()
      Returns:
      the set of reconfigurations.
    • getTransformationFileExtension

      protected abstract String getTransformationFileExtension()
      The method specifies the file extension of the reconfigurations files that are supposed to be loaded.
      Returns:
      the file extension.
    • setTransformations

      protected abstract void setTransformations(URI[] transURIs)
      The method sets an array of URIs, specifying the location of reconfigurations.
      Parameters:
      transURIs - Reconfiguration locations.