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,Loadable,OnMaster
- Enclosing class:
- AndroidEmulator
@Extension(ordinal=-100.0)
public static final class AndroidEmulator.DescriptorImpl
extends BuildWrapperDescriptor
implements Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
FieldsModifier and TypeFieldDescriptionThe Android SDK home directory.booleanWhether the SDK should be automatically installed where it's not found.booleanWhether the emulators should be kept in the workspace.Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) doCheckAndroidHome(File value) doCheckAvdName(String value) doCheckDeviceDefinition(String value) doCheckDeviceLocale(String value) doCheckExecutable(String value) doCheckOsVersion(String value) doCheckScreenDensity(String value) doCheckScreenResolution(String value, String screenDensity, String osVersion) doCheckSdCardSize(String value) doCheckTargetAbi(String value) String[]String[]Tool[]String[]String[]booleanisApplicable(AbstractProject<?, ?> item) newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
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 shouldInstallSdkWhether the SDK should be automatically installed where it's not found. -
shouldKeepInWorkspace
public boolean shouldKeepInWorkspaceWhether the emulators should be kept in the workspace.
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BuildWrapper>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classDescriptor<BuildWrapper>- Throws:
Descriptor.FormException
-
newInstance
public BuildWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classDescriptor<BuildWrapper>- Throws:
Descriptor.FormException
-
getHelpFile
- Overrides:
getHelpFilein classDescriptor<BuildWrapper>
-
isApplicable
- Specified by:
isApplicablein classBuildWrapperDescriptor
-
getAndroidVersions
-
getDeviceDensities
-
getDeviceResolutions
-
getEmulatorLocales
-
getHardwareProperties
-
getTargetAbis
-
getExecutables
-
doCheckAvdName
-
doCheckOsVersion
-
doCheckScreenDensity
-
doCheckScreenResolution
public FormValidation doCheckScreenResolution(@QueryParameter String value, @QueryParameter String screenDensity, @QueryParameter String osVersion) -
doCheckDeviceLocale
-
doCheckTargetAbi
-
doCheckDeviceDefinition
-
doCheckExecutable
-
doCheckSdCardSize
-
doCheckAndroidHome
-