public interface IVMRunner
Clients may implement this interface to launch a new kind of VM.
|Modifier and Type||Method and Description|
Launches a Java VM as specified in the given configuration, contributing results (debug targets and processes), to the given launch.
void run(VMRunnerConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException
configuration- the configuration settings for this run
launch- the launch to contribute to
monitor- progress monitor or
nullA cancelable progress monitor is provided by the Job framework. It should be noted that the setCanceled(boolean) method should never be called on the provided monitor or the monitor passed to any delegates from this method; due to a limitation in the progress monitor framework using the setCanceled method can cause entire workspace batch jobs to be canceled, as the canceled flag is propagated up the top-level parent monitor. The provided monitor is not guaranteed to have been started.
CoreException- if an exception occurs while launching
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.