public abstract class JobcopyOperation extends hudson.model.AbstractDescribableImpl<JobcopyOperation> implements hudson.ExtensionPoint
perform(String, String, EnvVars, PrintStream) or AbstractXmlJobcopyOperation.perform(org.w3c.dom.Document, EnvVars, PrintStream)| Constructor and Description |
|---|
JobcopyOperation() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<JobcopyOperation,hudson.model.Descriptor<JobcopyOperation>> |
all()
Return all the available JobcopyOperation whose DescriptorImpl annotated with Extension.
|
abstract String |
perform(String xmlString,
String encoding,
hudson.EnvVars env,
PrintStream logger)
Return modified XML string of the job configuration.
|
public static hudson.DescriptorExtensionList<JobcopyOperation,hudson.model.Descriptor<JobcopyOperation>> all()
public abstract String perform(String xmlString, String encoding, hudson.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–2021. All rights reserved.