Class AbstractReconfigurationLoader
java.lang.Object
org.palladiosimulator.simulizar.reconfiguration.AbstractReconfigurationLoader
- All Implemented Interfaces:
Extension
- Direct Known Subclasses:
HenshinReconfigurationLoader
,QVTOReconfigurationLoader
,SDReconfigurationLoader
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
The method specifies the file extension of the reconfigurations files that are supposed to be loaded.List<ModelTransformation<? extends Object>>
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 Details
-
transformations
-
-
Constructor Details
-
AbstractReconfigurationLoader
public AbstractReconfigurationLoader()
-
-
Method Details
-
load
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
- Returns:
- the set of reconfigurations.
-
getTransformationFileExtension
The method specifies the file extension of the reconfigurations files that are supposed to be loaded.- Returns:
- the file extension.
-
setTransformations
The method sets an array of URIs, specifying the location of reconfigurations.- Parameters:
transURIs
- Reconfiguration locations.
-