jp.ikedam.jenkins.plugins.jobcopy_builder
クラス JobcopyOperation
java.lang.Object
hudson.model.AbstractDescribableImpl<JobcopyOperation>
jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyOperation
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<JobcopyOperation>
- 直系の既知のサブクラス:
- AbstractXmlJobcopyOperation
public abstract class JobcopyOperation
- extends hudson.model.AbstractDescribableImpl<JobcopyOperation>
- implements hudson.ExtensionPoint
Additional operations performed when the jobcopy build step copies a job.
A new additional operation can be defined in following steps:
- Define a new class derived from JobcopyOperation. AbstractXmlJobcopyOperation is also available.
- Override
perform(String, String, EnvVars, PrintStream) or AbstractXmlJobcopyOperation.perform(org.w3c.dom.Document, EnvVars, PrintStream)
- Define the internal public static class named DescriptorImpl, derived from Descriptor<JobcopyOperation>
- annotate the DescriptorImpl with Extension
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
getDescriptor |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobcopyOperation
public JobcopyOperation()
all
public static hudson.DescriptorExtensionList<JobcopyOperation,hudson.model.Descriptor<JobcopyOperation>> all()
- Return all the available JobcopyOperation whose DescriptorImpl annotated with Extension.
- 戻り値:
perform
public abstract String perform(String xmlString,
String encoding,
hudson.EnvVars env,
PrintStream logger)
- Return modified XML string of the job configuration.
- パラメータ:
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.
- 戻り値:
- modified XML string. Return null if an error occurs.
Copyright © 2004-2013. All Rights Reserved.