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 Summary
Fields Modifier and Type Field Description protected List<ModelTransformation<? extends Object>>
transformations
-
Constructor Summary
Constructors Constructor Description AbstractReconfigurationLoader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract String
getTransformationFileExtension()
The method specifies the file extension of the reconfigurations files that are supposed to be loaded.List<ModelTransformation<? extends Object>>
getTransformations()
void
load(SimuLizarWorkflowConfiguration configuration)
The method loads all transformation that are stored in the reconfiguration rules folder.protected abstract void
setTransformations(URI[] transURIs)
The method sets an array of URIs, specifying the location of reconfigurations.
-
-
-
Field Detail
-
transformations
protected final List<ModelTransformation<? extends Object>> transformations
-
-
Method Detail
-
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.
-
-