Package org.eclipse.m2m.atl.engine.vm
Class AtlSuperimposeModule
- java.lang.Object
-
- org.eclipse.m2m.atl.engine.vm.AtlSuperimposeModule
-
public class AtlSuperimposeModule extends java.lang.ObjectImplements ATL module superimposition by load-time adaptation of the execution environment operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAtlSuperimposeModule.AtlSuperimposeModuleExceptionGeneral exception for applying ATL module superimposition.
-
Constructor Summary
Constructors Constructor Description AtlSuperimposeModule(ASMExecEnv env, ASM asm)Creates a new AtlSuperimposeModule object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadaptModuleOperations()Adapts any module-specific operations from a library.
-
-
-
Constructor Detail
-
AtlSuperimposeModule
public AtlSuperimposeModule(ASMExecEnv env, ASM asm)
Creates a new AtlSuperimposeModule object.- Parameters:
env- The execution environment to adaptasm- The ATL module to adapt
-
-
Method Detail
-
adaptModuleOperations
public void adaptModuleOperations() throws AtlSuperimposeModule.AtlSuperimposeModuleExceptionAdapts any module-specific operations from a library. The matcher and exec operations are adapted to include any new ATL rules. Rules with the same name as an existing rule will override the existing rule.- Throws:
AtlSuperimposeModule.AtlSuperimposeModuleException- if sanity check fails
-
-