org.eclipse.m2m.atl.engine.vm
Class AtlLauncher

java.lang.Object
  extended by org.eclipse.m2m.atl.engine.vm.AtlLauncher

public final class AtlLauncher
extends java.lang.Object

The ATL launcher utility.


Method Summary
static AtlLauncher getDefault()
          Returns the default ATL launcher.
 java.lang.Object launch(ASM asm, java.util.Map libraries, java.util.Map models, java.util.Map asmParams, java.util.List superimpose, java.util.Map options, Debugger debugger)
          Launch method.
 java.lang.Object launch(java.net.URL asmurl, java.util.Map libraries, java.util.Map models, java.util.Map asmParams, java.util.List superimpose)
          Deprecated.  
 java.lang.Object launch(java.net.URL asmurl, java.util.Map libraries, java.util.Map models, java.util.Map asmParams, java.util.List superimpose, java.util.Map options)
          New launch method.
 java.lang.Object launch(java.net.URL asmurl, java.util.Map libraries, java.util.Map models, java.util.Map asmParams, java.util.List superimpose, java.util.Map options, Debugger debugger)
          New launch method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static AtlLauncher getDefault()
Returns the default ATL launcher.

Returns:
the default ATL launcher

launch

public java.lang.Object launch(java.net.URL asmurl,
                               java.util.Map libraries,
                               java.util.Map models,
                               java.util.Map asmParams,
                               java.util.List superimpose)
Deprecated. 

Backward compatible launch method. Leaves upgrade window.

Parameters:
asmurl - URL to the .asm transformation module
libraries - Map of library names mapped to URLs of their .asm files
models - Map of model names mapped to (input and output) ASMModels
asmParams - Voodoo parameters - always use Collections.EMPTY_MAP
superimpose - List of URLs to superimposed .asm transformation modules
Returns:
the launch result

launch

public java.lang.Object launch(java.net.URL asmurl,
                               java.util.Map libraries,
                               java.util.Map models,
                               java.util.Map asmParams,
                               java.util.List superimpose,
                               java.util.Map options)
New launch method. Not backward compatible with previous versions of ATL.

Parameters:
asmurl - URL to the .asm transformation module
libraries - Map of library names mapped to URLs of their .asm files
models - Map of model names mapped to (input and output) ASMModels
asmParams - Voodoo parameters - always use Collections.EMPTY_MAP
superimpose - List of URLs to superimposed .asm transformation modules
options - the options map
Returns:
the launch result

launch

public java.lang.Object launch(java.net.URL asmurl,
                               java.util.Map libraries,
                               java.util.Map models,
                               java.util.Map asmParams,
                               java.util.List superimpose,
                               java.util.Map options,
                               Debugger debugger)
New launch method. Not backward compatible with previous versions of ATL.

Parameters:
asmurl - URL to the .asm transformation module
libraries - Map of library names mapped to URLs of their .asm files
models - Map of model names mapped to (input and output) ASMModels
asmParams - Voodoo parameters - always use Collections.EMPTY_MAP
superimpose - List of URLs to superimposed .asm transformation modules
options - the options map
debugger - the used atl debugger
Returns:
the launch result

launch

public java.lang.Object launch(ASM asm,
                               java.util.Map libraries,
                               java.util.Map models,
                               java.util.Map asmParams,
                               java.util.List superimpose,
                               java.util.Map options,
                               Debugger debugger)
Launch method.

Parameters:
asm - asm transformation module
libraries - Map of library names mapped to URLs of their .asm files
models - Map of model names mapped to (input and output) ASMModels
asmParams - Voodoo parameters - always use Collections.EMPTY_MAP
superimpose - List of URLs to superimposed .asm transformation modules
options - the options map
debugger - the used atl debugger
Returns:
the launch result

Copyright 2007 IBM Corporation and others.
All Rights Reserved.