|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDevice
The device interface specifies the representation of an emulated device. Each instance of IEmulator must provide a list of emulated devices that implement this interface.
Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.
IDevice| Method Summary | |
|---|---|
Classpath |
getClasspath()
Return the classpath provided by this device. |
ILibrary |
getConfigurationLibrary()
Return the library that provides the configuration for this device or null if no such library can be found. |
String |
getDescription()
Return the displayable description of this device. |
Properties |
getDeviceProperties()
Return the properties associated with this device. |
String |
getGroupName()
Return the name of the device group to which this device belongs. |
String |
getLaunchCommand(LaunchEnvironment launchEnvironment,
IProgressMonitor monitor)
Return the command-line arguments for launching this device given the specified launch environment. |
String |
getName()
Return the name of this device. |
IPreverifier |
getPreverifier()
Return the preverifier to be used to preverify classes for this device. |
ILibrary |
getProfileLibrary()
Return the library that provides the profile for this device or null if no such library can be found. |
String[] |
getProtectionDomains()
Return the list of protection domains specified by this device. |
boolean |
isDebugServer()
Return a boolean describing whether this device wants to act as a debug server rather than attaching to the debugger as a client. |
boolean |
isPredeploymentRequired()
Deprecated. This method is no longer called during launch |
void |
setName(String name)
Set the name of this device. |
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Method Detail |
|---|
Classpath getClasspath()
ILibrary getConfigurationLibrary()
null if no such library can be found.
String getDescription()
null value, the device's name will be used as the
description instead.
null if the
device's name should be used instead.Properties getDeviceProperties()
String getGroupName()
null value.
String getLaunchCommand(LaunchEnvironment launchEnvironment,
IProgressMonitor monitor)
throws CoreException
launchEnvironment - monitor -
CoreExceptionString getName()
null.
IPreverifier getPreverifier()
ILibrary getProfileLibrary()
null if no such library can be found.
String[] getProtectionDomains()
null from this method will imply that this device does not
support protection domains.
null if the
device does not provide any protection domains.boolean isDebugServer()
boolean isPredeploymentRequired()
void setName(String name)
null.
name - the non-null name of this device.
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||