org.eclipse.mtj.core.launching
Class LaunchEnvironment
java.lang.Object
org.eclipse.mtj.core.launching.LaunchEnvironment
-
public class LaunchEnvironment
- extends
Object
The launch environment provides the necessary information to an IDevice
implementation in order to determine the correct command-line for execution
of an emulator.
-
Since:
- 1.0
-
Restriction:
- This class is not intended to be subclassed by clients.
Method Summary
|
int
|
getDebugListenerPort
()
Return the port number to be used for debugging. |
ILaunchConfiguration
|
getLaunchConfiguration
()
Return the launch configuration that was used to launch the emulation. |
IMTJProject
|
getProject
()
Return the project that contains the resources that may be launched. |
boolean
|
isDebugLaunch
()
Return a boolean indicating whether the launch should be done for debug
or not. |
void
|
setDebugLaunch
(boolean debugLaunch)
Indicate whether the launch should be done for debug or not. |
void
|
setDebugListenerPort
(int debugListenerPort)
Set the port to be listened for debugging. |
void
|
setLaunchConfiguration
(ILaunchConfiguration launchConfiguration)
Set the launch configuration that must be used to launch the emulation. |
void
|
setProject
(
IMTJProject mtjProject)
Set the project that contains the resources that may be launched. |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
LaunchEnvironment
public LaunchEnvironment()
getDebugListenerPort
public int getDebugListenerPort()
- Return the port number to be used for debugging.
-
-
Returns:
- the debug port number.
getLaunchConfiguration
public ILaunchConfiguration getLaunchConfiguration()
- Return the launch configuration that was used to launch the emulation.
-
-
Returns:
- A launch configuration that describes how to launch the emulator.
getProject
public
IMTJProject getProject()
- Return the project that contains the resources that may be launched.
-
-
Returns:
- Returns the
IMTJProject
that resources that may be
launched.
isDebugLaunch
public boolean isDebugLaunch()
- Return a boolean indicating whether the launch should be done for debug
or not.
-
-
Returns:
-
true
to indicate that the launch should be made in
debug mode, false
otherwise.
setDebugLaunch
public void setDebugLaunch(boolean debugLaunch)
- Indicate whether the launch should be done for debug or not.
-
-
Parameters:
-
debugLaunch
- use true
to indicate that the launch
should be made in debug mode, false
otherwise.
setDebugListenerPort
public void setDebugListenerPort(int debugListenerPort)
- Set the port to be listened for debugging.
-
-
Parameters:
-
debugListenerPort
- the port to be listened for debugging.
setLaunchConfiguration
public void setLaunchConfiguration(ILaunchConfiguration launchConfiguration)
- Set the launch configuration that must be used to launch the emulation.
-
-
Parameters:
-
launchConfiguration
- The launch configuration that must be used to
launch the emulation.
setProject
public void setProject(
IMTJProject mtjProject)
- Set the project that contains the resources that may be launched.
-
-
Parameters:
-
mtjProject
- The
IMTJProject
that contains the resources
that may be launched.