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
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
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
copy
(Run<?, ?> original, Run<?, ?> copy, TaskListener listener) Copies metadata between builds.final void
copy
(FlowExecutionOwner original, FlowExecutionOwner copy) Copies any required metadata or files from one to another.
-
Constructor Details
-
ByRun
public ByRun()
-
-
Method Details
-
copy
public abstract void copy(Run<?, ?> original, Run<?, throws IOException, InterruptedException?> copy, TaskListener listener) 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
-