Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.launching
Class LaunchEnvironment

java.lang.Object
  extended by org.eclipse.mtj.core.launching.LaunchEnvironment

public class LaunchEnvironment
extends Object

The launch environment provides the necessary information to an instance of IDevice for determining the correct command-line for executing the device.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
LaunchEnvironment()
           
 
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.
 IMidletSuiteProject getMidletSuite()
           
 boolean isDebugLaunch()
          Return a boolean indicating whether the launch should be done for debug or not.
 void setDebugLaunch(boolean debugLaunch)
           
 void setDebugListenerPort(int debugListenerPort)
           
 void setLaunchConfiguration(ILaunchConfiguration launchConfiguration)
           
 void setMidletSuite(IMidletSuiteProject midletSuite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchEnvironment

public LaunchEnvironment()
Method Detail

getDebugListenerPort

public int getDebugListenerPort()
Return the port number to be used for debugging.

Returns:

getLaunchConfiguration

public ILaunchConfiguration getLaunchConfiguration()
Return the launch configuration that was used to launch the emulation.

Returns:

getMidletSuite

public IMidletSuiteProject getMidletSuite()
Returns:
Returns the midletSuite.

isDebugLaunch

public boolean isDebugLaunch()
Return a boolean indicating whether the launch should be done for debug or not.

Returns:

setDebugLaunch

public void setDebugLaunch(boolean debugLaunch)
Parameters:
debugLaunch - The debugLaunch to set.

setDebugListenerPort

public void setDebugListenerPort(int debugListenerPort)
Parameters:
debugListenerPort - The debugListenerPort to set.

setLaunchConfiguration

public void setLaunchConfiguration(ILaunchConfiguration launchConfiguration)
Parameters:
launchConfiguration - The launchConfiguration to set.

setMidletSuite

public void setMidletSuite(IMidletSuiteProject midletSuite)
Parameters:
midletSuite - The midletSuite to set.

Mobile Tools for Java
Release 1.0