Package hudson.plugins.android_emulator
Class UninstallBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- hudson.plugins.android_emulator.builder.AbstractBuilder
-
- hudson.plugins.android_emulator.UninstallBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
public class UninstallBuilder extends AbstractBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UninstallBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description UninstallBuilder(String packageId, boolean failOnUninstallFailure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPackageId()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
boolean
shouldFailBuildOnFailure()
-
Methods inherited from class hudson.plugins.android_emulator.builder.AbstractBuilder
getAndroidSdk, getDeviceIdentifier, getDeviceTelnetPort, uninstallApk, uninstallApk, waitForCoreProcess
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
UninstallBuilder
@DataBoundConstructor public UninstallBuilder(String packageId, boolean failOnUninstallFailure)
-
-
Method Detail
-
getPackageId
public String getPackageId()
-
shouldFailBuildOnFailure
public boolean shouldFailBuildOnFailure()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
-