Class FlowCopier.ByRun
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.flow.FlowCopier
-
- org.jenkinsci.plugins.workflow.flow.FlowCopier.ByRun
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
FlowCopier.StandardActions
,StashManager.CopyStashesAndArtifacts
- Enclosing class:
- FlowCopier
public abstract static class FlowCopier.ByRun extends FlowCopier
Convenience implementation that only operates on true builds.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.flow.FlowCopier
FlowCopier.ByRun, FlowCopier.StandardActions
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ByRun()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
copy(Run<?,?> original, Run<?,?> copy, TaskListener listener)
Copies metadata between builds.void
copy(FlowExecutionOwner original, FlowExecutionOwner copy)
Copies any required metadata or files from one to another.
-
-
-
Method Detail
-
copy
public abstract void copy(Run<?,?> original, Run<?,?> copy, TaskListener listener) throws IOException, InterruptedException
Copies metadata between builds.- Parameters:
listener
- a way of logging messages to the copy- Throws:
IOException
InterruptedException
-
copy
public final void copy(FlowExecutionOwner original, FlowExecutionOwner copy) throws IOException, InterruptedException
Description copied from class:FlowCopier
Copies any required metadata or files from one to another.- Specified by:
copy
in classFlowCopier
- Parameters:
original
- an initial build, typically completecopy
- a new build, typically not yet started- Throws:
IOException
InterruptedException
-
-