Class UnshelveBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.p4.unshelve.UnshelveBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
- Direct Known Subclasses:
UnshelveBuilderStep
public class UnshelveBuilder extends Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnshelveBuilder.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 UnshelveBuilder(String shelf, String resolve)
Deprecated.UnshelveBuilder(String shelf, String resolve, boolean tidy)
Deprecated.UnshelveBuilder(String shelf, String resolve, boolean tidy, boolean ignoreEmpty)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnshelveBuilder.DescriptorImpl
descriptor()
BuildStepMonitor
getRequiredMonitorService()
String
getResolve()
String
getShelf()
boolean
isIgnoreEmpty()
boolean
isTidy()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
protected boolean
unshelve(Run<?,?> run, String credential, Workspace workspace, FilePath buildWorkspace, TaskListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
UnshelveBuilder
@DataBoundConstructor public UnshelveBuilder(String shelf, String resolve, boolean tidy, boolean ignoreEmpty)
-
UnshelveBuilder
@Deprecated public UnshelveBuilder(String shelf, String resolve, boolean tidy)
Deprecated.
-
UnshelveBuilder
@Deprecated public UnshelveBuilder(String shelf, String resolve)
Deprecated.
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classBuilder
-
getShelf
public String getShelf()
-
getResolve
public String getResolve()
-
isTidy
public boolean isTidy()
-
isIgnoreEmpty
public boolean isIgnoreEmpty()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
unshelve
protected boolean unshelve(Run<?,?> run, String credential, Workspace workspace, FilePath buildWorkspace, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
descriptor
public static UnshelveBuilder.DescriptorImpl descriptor()
-
-