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
RegularVM Profiler launcher.
-
Field Summary
Fields inherited from interface org.eclipse.m2m.atl.core.launch.ILauncher
DEBUG_MODE, RUN_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getModes()
Returns the supported modes.getName()
Returns theILauncher
name.launch
(String mode, org.eclipse.core.runtime.IProgressMonitor monitor, Map<String, Object> options, 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
-
Constructor Details
-
ProfilerLauncher
public ProfilerLauncher()
-
-
Method Details
-
launch
public Object launch(String mode, org.eclipse.core.runtime.IProgressMonitor monitor, Map<String, Object> options, 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:
-
getName
Returns theILauncher
name.- Specified by:
getName
in interfaceILauncher
- Overrides:
getName
in classRegularVMLauncher
- Returns:
- the
ILauncher
name - See Also:
-
getModes
Returns the supported modes.- Specified by:
getModes
in interfaceILauncher
- Overrides:
getModes
in classRegularVMLauncher
- Returns:
- the supported modes
- See Also:
-