public abstract class JobcopyOperation extends AbstractDescribableImpl<JobcopyOperation> implements ExtensionPoint
perform(String, String, EnvVars, PrintStream)
or AbstractXmlJobcopyOperation.perform(org.w3c.dom.Document, EnvVars, PrintStream)
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
JobcopyOperation() |
Modifier and Type | Method and Description |
---|---|
static DescriptorExtensionList<JobcopyOperation,Descriptor<JobcopyOperation>> |
all()
Return all the available JobcopyOperation whose DescriptorImpl annotated with Extension.
|
abstract String |
perform(String xmlString,
String encoding,
EnvVars env,
PrintStream logger)
Return modified XML string of the job configuration.
|
getDescriptor
public static DescriptorExtensionList<JobcopyOperation,Descriptor<JobcopyOperation>> all()
public abstract String perform(String xmlString, String encoding, EnvVars env, PrintStream logger)
xmlString
- the XML string of the job to be copied (job/NAME/config.xml)encoding
- the encoding of the XML.env
- Variables defined in the build.logger
- The output stream to log.Copyright © 2016–2023. All rights reserved.