Package hudson.plugins.android_emulator
Class AndroidEmulator.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<BuildWrapper>
-
- hudson.tasks.BuildWrapperDescriptor
-
- hudson.plugins.android_emulator.AndroidEmulator.DescriptorImpl
-
- All Implemented Interfaces:
Saveable
,Serializable
,OnMaster
- Enclosing class:
- AndroidEmulator
@Extension(ordinal=-100.0) public static final class AndroidEmulator.DescriptorImpl extends BuildWrapperDescriptor implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description String
androidHome
The Android SDK home directory.boolean
shouldInstallSdk
Whether the SDK should be automatically installed where it's not found.boolean
shouldKeepInWorkspace
Whether the emulators should be kept in the workspace.-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
androidHome
public String androidHome
The Android SDK home directory. Can include variables, e.g.${ANDROID_HOME}
.If
null
, we will just assume the required commands are on the PATH.
-
shouldInstallSdk
public boolean shouldInstallSdk
Whether the SDK should be automatically installed where it's not found.
-
shouldKeepInWorkspace
public boolean shouldKeepInWorkspace
Whether the emulators should be kept in the workspace.
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
newInstance
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFile
in classDescriptor<BuildWrapper>
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> item)
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getAndroidVersions
public String[] getAndroidVersions()
-
getDeviceDensities
public ScreenDensity[] getDeviceDensities()
-
getDeviceResolutions
public ScreenResolution[] getDeviceResolutions()
-
getEmulatorLocales
public String[] getEmulatorLocales()
-
getHardwareProperties
public String[] getHardwareProperties()
-
getTargetAbis
public String[] getTargetAbis()
-
getExecutables
public Tool[] getExecutables()
-
doCheckAvdName
public FormValidation doCheckAvdName(@QueryParameter String value)
-
doCheckOsVersion
public FormValidation doCheckOsVersion(@QueryParameter String value)
-
doCheckScreenDensity
public FormValidation doCheckScreenDensity(@QueryParameter String value)
-
doCheckScreenResolution
public FormValidation doCheckScreenResolution(@QueryParameter String value, @QueryParameter String density, @QueryParameter String osVersion)
-
doCheckDeviceLocale
public FormValidation doCheckDeviceLocale(@QueryParameter String value)
-
doCheckTargetAbi
public FormValidation doCheckTargetAbi(@QueryParameter String value)
-
doCheckDeviceDefinition
public FormValidation doCheckDeviceDefinition(@QueryParameter String value)
-
doCheckExecutable
public FormValidation doCheckExecutable(@QueryParameter String value)
-
doCheckSdCardSize
public FormValidation doCheckSdCardSize(@QueryParameter String value)
-
doCheckAndroidHome
public FormValidation doCheckAndroidHome(@QueryParameter File value)
-
-