org.eclipse.m2m.atl.service.core.configuration
Class TransformationConfiguration
java.lang.Object
org.eclipse.m2m.atl.service.core.configuration.TransformationConfiguration
- Direct Known Subclasses:
- ComposedTransformationConfiguration, SingleTransformationConfiguration
public abstract class TransformationConfiguration
- extends java.lang.Object
Abstract class for TransformationConfiguration
It contains models used by the transformations, and metadata transformation
TransformationConfiguration are built and stocked by the ServiceExtensionManager
UI parts can execute a transformationConfiguration with method execute()
|
Field Summary |
protected java.util.Map |
models
Models used by the transformations |
protected java.lang.String |
pluginId
PluginId where resources are located for this transformationConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pluginId
protected java.lang.String pluginId
- PluginId where resources are located for this transformationConfiguration
models
protected java.util.Map models
- Models used by the transformations
TransformationConfiguration
public TransformationConfiguration(java.lang.String configurationName,
java.lang.String pluginId)
execute
public abstract void execute(java.lang.String projectPath,
java.lang.String pathInModel)
throws ServiceException
- Throws:
ServiceException
addFileExtension
public void addFileExtension(java.lang.String fileExtension)
getFileExtensions
public java.util.List getFileExtensions()
isMatchingExtension
public boolean isMatchingExtension(java.lang.String extension)
- Parameters:
extension -
- Returns:
- return true if extension is contained is the extensions list
getConfigurationName
public java.lang.String getConfigurationName()
getModelsForTransformation
public java.util.Map getModelsForTransformation(Transformation t)
- This map contains asmModels for an ATL transformation
- Parameters:
t -
- Returns:
- a Map