|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.Extension
de.enough.polish.emulator.Emulator
de.enough.polish.emulator.JavaMeSdkEmulator
public class JavaMeSdkEmulator
Configures and starts the Java ME SDK emulator 3.0 and above.
Copyright Enough Software 2011
| Field Summary | |
|---|---|
protected boolean |
appendXdeviceArgument
|
protected String[] |
arguments
|
protected String[] |
environmentArguments
|
protected File |
workingDirectory
|
| Fields inherited from class de.enough.polish.emulator.Emulator |
|---|
device, emulatorSetting, isFinished |
| Fields inherited from class de.enough.polish.Extension |
|---|
antProject, autoStartCondition, environment, extensionDefinition, extensionManager, extensionSetting, extensionTypeDefinition, isBuildStarted |
| Constructor Summary | |
|---|---|
JavaMeSdkEmulator()
Creates a new emulator |
|
| Method Summary | |
|---|---|
String[] |
getArguments()
Retrieves the arguments which are used to start the emulator. |
protected File |
getEmulatorExcecutable(File sdkHome,
String xDevice,
Device dev,
Environment env)
Retrieves the executable for the given device. |
protected File |
getEmulatorExcecutable(String sdkHome,
String xDevice,
Device dev,
Environment env)
Retrieves the executable for the given device. |
protected String[] |
getEmulatorSkinNames(Environment env)
|
protected File |
getExecutionDir()
Retrieves the directory in which the emulator should be executed. |
boolean |
init(Device dev,
EmulatorSetting setting,
Environment env)
Starts the emulator for the given device. |
protected boolean |
supportsSecurityDomain()
Indicates whether this emulator supports "-Xdomain"-parameter. |
| Methods inherited from class de.enough.polish.emulator.Emulator |
|---|
addDebugArguments, createEmulator, exec, execute, filter, getParameter, getParameters, getParameterValue, isFinished, run, run, supportsDebugger, writeProperties |
| Methods inherited from class de.enough.polish.Extension |
|---|
configure, executeAntTarget, executeAntTarget, finalize, getAntProject, getAutoStartCondition, getEnvironment, getExtensionDefinition, getExtensionSetting, getInstance, getParameterValue, getType, init, initialize, isConditionFulfilled, notifyBuildEnd, notifyBuildStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String[] arguments
protected boolean appendXdeviceArgument
protected String[] environmentArguments
protected File workingDirectory
| Constructor Detail |
|---|
public JavaMeSdkEmulator()
| Method Detail |
|---|
protected boolean supportsSecurityDomain()
protected File getEmulatorExcecutable(String sdkHome,
String xDevice,
Device dev,
Environment env)
sdkHome - the path to the Java ME SDKxDevice - the name of the skindev - the deviceenv - environment
protected File getEmulatorExcecutable(File sdkHome,
String xDevice,
Device dev,
Environment env)
sdkHome - the path to the Java ME SDKxDevice - the name of the skindev - the deviceenv - environment
protected String[] getEmulatorSkinNames(Environment env)
public boolean init(Device dev,
EmulatorSetting setting,
Environment env)
Emulator
init in class Emulatordev - the current devicesetting - the settingenv - all Ant- and polish-properties for the parameter-values
protected File getExecutionDir()
Emulator
getExecutionDir in class Emulatorpublic String[] getArguments()
Emulator
getArguments in class Emulator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||