Package jenkins.plugin.android.emulator
Class AndroidEmulatorBuild
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.tasks.SimpleBuildWrapper
jenkins.plugin.android.emulator.AndroidEmulatorBuild
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.DisposerNested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.EnvironmentNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionAndroidEmulatorBuild(String emulatorTool, String osVersion, String screenDensity, String screenResolution) -
Method Summary
Modifier and TypeMethodDescriptionintNeeded for syntax snippet generator.Needed for syntax snippet generator.Needed for syntax snippet generator.Needed for syntax snippet generator.voidsetAdbTimeout(int adbTimeout) voidsetAvdName(String avdName) voidsetDeviceDefinition(String deviceDefinition) voidsetDeviceLocale(String deviceLocale) voidsetHardwareProperties(List<HardwareProperty> hardwareProperties) voidsetHomeLocationStrategy(HomeLocator homeLocationStrategy) voidsetSdCardSize(String sdCardSize) voidsetTargetABI(String targetABI) voidsetUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUpMethods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUpMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
AndroidEmulatorBuild
-
-
Method Details
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException- Overrides:
setUpin classSimpleBuildWrapper- Throws:
IOExceptionInterruptedException
-
getEmulatorTool
Needed for syntax snippet generator.- Returns:
- installation name to use by this step.
-
getOsVersion
Needed for syntax snippet generator.- Returns:
- the Android O.S. version.
-
getScreenDensity
Needed for syntax snippet generator.- Returns:
- the screen pixel density (dpi).
-
getScreenResolution
Needed for syntax snippet generator.- Returns:
- the screen resolution like 480x640.
-
getHomeLocationStrategy
-
setHomeLocationStrategy
-
getAvdName
-
setAvdName
-
getDeviceLocale
-
setDeviceLocale
-
getDeviceDefinition
-
setDeviceDefinition
-
getSdCardSize
-
setSdCardSize
-
getTargetABI
-
setTargetABI
-
getHardwareProperties
-
setHardwareProperties
-
getAdbTimeout
public int getAdbTimeout() -
setAdbTimeout
@DataBoundSetter public void setAdbTimeout(int adbTimeout)
-