public class EmulatorConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbi() |
java.io.File |
getAdb() |
java.util.List<java.lang.String> |
getAdditionalEmulatorArguments() |
java.lang.String |
getAndroidVersion() |
java.io.File |
getAvdManager() |
java.io.File |
getAvdRoot() |
java.io.File |
getCmdLineToolsSdkManager() |
java.lang.String |
getDeviceType() |
java.io.File |
getEmulator() |
java.lang.String |
getEmulatorName() |
java.lang.Integer |
getEmulatorPort()
The port the emulator was bound to in the range 5554 to 5682.
|
boolean |
getEnableForAndroidTests() |
java.util.Map<java.lang.String,java.lang.String> |
getEnvironmentVariableMap() |
java.lang.String |
getFlavor() |
boolean |
getLogEmulatorOutput() |
java.io.File |
getSdkManager()
Provides the initial
sdkmanager used to install the latest version, retrieved later by this plugin via
getCmdLineToolsSdkManager(). |
java.io.File |
getSdkRoot() |
java.lang.String |
getSystemImagePackageName() |
java.io.File |
sdkFile(java.lang.String... path) |
void |
setEmulatorPort(int port)
When the plugin starts the emulator, it should bind it to a specify a port in the range 5554 to 5682 and call
this method to set it for other tasks to use.
|
public java.io.File getSdkRoot()
public java.io.File sdkFile(java.lang.String... path)
public java.io.File getSdkManager()
throws java.lang.RuntimeException
sdkmanager used to install the latest version, retrieved later by this plugin via
getCmdLineToolsSdkManager().sdkmanager file location, which is guaranteed to exist and be a file if returned.java.lang.RuntimeException - if no sdkmanager to use can be found on disk.public java.io.File getCmdLineToolsSdkManager()
public java.io.File getAvdManager()
public java.io.File getEmulator()
public java.io.File getAdb()
public java.io.File getAvdRoot()
public java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariableMap()
public boolean getEnableForAndroidTests()
public java.util.List<java.lang.String> getAdditionalEmulatorArguments()
public boolean getLogEmulatorOutput()
public java.lang.String getAndroidVersion()
public java.lang.String getFlavor()
public java.lang.String getAbi()
public java.lang.String getSystemImagePackageName()
public java.lang.String getEmulatorName()
public java.lang.String getDeviceType()
public void setEmulatorPort(int port)
port - The port to be bound to the emulator.public java.lang.Integer getEmulatorPort()