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 SummaryNested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.flow.FlowCopierFlowCopier.ByRun, FlowCopier.StandardActionsNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidcopy(Run<?, ?> original, Run<?, ?> copy, TaskListener listener) Copies metadata between builds.final voidcopy(FlowExecutionOwner original, FlowExecutionOwner copy) Copies any required metadata or files from one to another.
- 
Constructor Details- 
ByRunpublic ByRun()
 
- 
- 
Method Details- 
copypublic 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
 
- 
copypublic final void copy(FlowExecutionOwner original, FlowExecutionOwner copy) throws IOException, InterruptedException Description copied from class:FlowCopierCopies any required metadata or files from one to another.- Specified by:
- copyin class- FlowCopier
- Parameters:
- original- an initial build, typically complete
- copy- a new build, typically not yet started
- Throws:
- IOException
- InterruptedException
 
 
-