Class FlowCopier
java.lang.Object
org.jenkinsci.plugins.workflow.flow.FlowCopier
- All Implemented Interfaces:
- ExtensionPoint
- Direct Known Subclasses:
- FlowCopier.ByRun
A way for plugins to copy metadata and associated files from one flow execution to another.
 Useful when a new execution is not being created from scratch, but is a kind of clone of another.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classConvenience implementation that only operates on true builds.static classNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidcopy(FlowExecutionOwner original, FlowExecutionOwner copy) Copies any required metadata or files from one to another.
- 
Constructor Details- 
FlowCopierpublic FlowCopier()
 
- 
- 
Method Details- 
copypublic abstract void copy(FlowExecutionOwner original, FlowExecutionOwner copy) throws IOException, InterruptedException Copies any required metadata or files from one to another.- Parameters:
- original- an initial build, typically complete
- copy- a new build, typically not yet started
- Throws:
- IOException
- InterruptedException
 
 
-