Package org.eclipse.m2m.atl.profiler.vm
Class ProfilerLauncher
- java.lang.Object
-
- org.eclipse.m2m.atl.core.ui.vm.RegularVMLauncher
-
- org.eclipse.m2m.atl.profiler.vm.ProfilerLauncher
-
- All Implemented Interfaces:
ILauncher
public class ProfilerLauncher extends RegularVMLauncher
RegularVM Profiler launcher.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.m2m.atl.core.launch.ILauncher
DEBUG_MODE, RUN_MODE
-
-
Constructor Summary
Constructors Constructor Description ProfilerLauncher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getModes()
Returns the supported modes.java.lang.String
getName()
Returns theILauncher
name.java.lang.Object
launch(java.lang.String mode, org.eclipse.core.runtime.IProgressMonitor monitor, java.util.Map<java.lang.String,java.lang.Object> options, java.lang.Object... modules)
Launches the transformation using the given parameters and the given set of preloaded modules, orInputStream
.-
Methods inherited from class org.eclipse.m2m.atl.core.ui.vm.RegularVMLauncher
addInModel, addInOutModel, addLibrary, addOutModel, getDefaultModelFactoryName, getLibrary, getModel, initialize, internalLaunch, loadModule
-
-
-
-
Method Detail
-
launch
public java.lang.Object launch(java.lang.String mode, org.eclipse.core.runtime.IProgressMonitor monitor, java.util.Map<java.lang.String,java.lang.Object> options, java.lang.Object... modules)
Launches the transformation using the given parameters and the given set of preloaded modules, orInputStream
.- Specified by:
launch
in interfaceILauncher
- Overrides:
launch
in classRegularVMLauncher
- Parameters:
mode
- the launching modemonitor
- the progress monitoroptions
- vm optionsmodules
- single module/ordered module set. A module set is used for superimposition, where the first module of the set is override by the next ones. A module can be passed as an InputStream or directly a module loaded by the loadModule method.- Returns:
- the transformation return result
- See Also:
RegularVMLauncher.launch(java.lang.String, org.eclipse.core.runtime.IProgressMonitor, java.util.Map, java.lang.Object[])
-
getName
public java.lang.String getName()
Returns theILauncher
name.- Specified by:
getName
in interfaceILauncher
- Overrides:
getName
in classRegularVMLauncher
- Returns:
- the
ILauncher
name - See Also:
RegularVMLauncher.getName()
-
getModes
public java.lang.String[] getModes()
Returns the supported modes.- Specified by:
getModes
in interfaceILauncher
- Overrides:
getModes
in classRegularVMLauncher
- Returns:
- the supported modes
- See Also:
ILauncher.getModes()
-
-