Class AbstractSnapshotBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.android_emulator.builder.AbstractBuilder
hudson.plugins.android_emulator.snapshot.AbstractSnapshotBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
- Direct Known Subclasses:
SnapshotLoadBuilder
,SnapshotSaveBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected abstract String
getLogMessage
(String snapshotName, int avdPort) protected abstract String
boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) 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
-
Field Details
-
name
Name of the snapshot involved.
-
-
Constructor Details
-
AbstractSnapshotBuilder
-
-
Method Details
-
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
-
getCommandTimeout
protected int getCommandTimeout() -
getSnapshotAction
-
getLogMessage
-