public class DisableOperation extends AbstractXmlJobcopyOperation implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DisableOperation.DescriptorImpl
The internal class to work with views.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
DisableOperation()
Constructor to initialize with the input parameters.
|
Modifier and Type | Method and Description |
---|---|
Document |
perform(Document doc,
EnvVars env,
PrintStream logger)
Returns modified XML Document of the job configuration.
|
getNode, getNodeList, getXpath, perform
all
getDescriptor
@DataBoundConstructor public DisableOperation()
public Document perform(Document doc, EnvVars env, PrintStream logger)
perform
in class AbstractXmlJobcopyOperation
doc
- XML Document of the job to be copied (job/NAME/config.xml)env
- Variables defined in the build.logger
- The output stream to log.AbstractXmlJobcopyOperation.perform(org.w3c.dom.Document, hudson.EnvVars, java.io.PrintStream)
Copyright © 2016–2023. All rights reserved.