Package org.eclipse.m2m.atl.engine.emfvm
Class ASM
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.ASM
The ASM Class, which manages an ASM program.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a field.voidaddOperation(ASMOperation operation) Adds an operation.Returns "main" operation, if any.getName()Returns All registered operations.static voidregisterOperations(ExecEnv execEnv, Iterator<ASMOperation> operationsToRegister) Registers all ATL operations.run(ITool[] tools, Map<String, IModel> models, Map<String, ASM> libraries, List<ASM> superimpose, Map<String, Object> options, org.eclipse.core.runtime.IProgressMonitor monitor, IModelAdapter modelAdapter) Launches the ASM.voidvoidsetVersion(String version) 
- 
Constructor Details- 
ASMpublic ASM()ASM Constructor.
 
- 
- 
Method Details- 
setName
- 
addFieldAdds a field.- Parameters:
- fieldName- the field name
- type- the field type
 
- 
addOperationAdds an operation.- Parameters:
- operation- the operation to add
 
- 
getOperationsReturns All registered operations.- Returns:
- All registered operations
- See Also:
 
- 
getMainOperationReturns "main" operation, if any.- Returns:
- "main" operation, if any
 
- 
runpublic Object run(ITool[] tools, Map<String, IModel> models, Map<String, ASM> libraries, List<ASM> superimpose, Map<String, Object> options, org.eclipse.core.runtime.IProgressMonitor monitor, IModelAdapter modelAdapter) Launches the ASM.- Parameters:
- tools- the execution tools
- models- the model map
- libraries- the library map
- superimpose- the superimpose list
- options- the option map
- monitor- the progress monitor
- modelAdapter- the- IModelAdapterto use
- Returns:
- the execution result
 
- 
registerOperationsRegisters all ATL operations.- Parameters:
- execEnv- the execution environment where to register operations
- operationsToRegister- the list of operations to register
 
- 
getName
- 
setVersion
- 
getVersion
 
-