jp.ikedam.jenkins.plugins.jobcopy_builder
クラス EnableOperation
java.lang.Object
hudson.model.AbstractDescribableImpl<JobcopyOperation>
jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyOperation
jp.ikedam.jenkins.plugins.jobcopy_builder.AbstractXmlJobcopyOperation
jp.ikedam.jenkins.plugins.jobcopy_builder.EnableOperation
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<JobcopyOperation>, Serializable
public class EnableOperation
- extends AbstractXmlJobcopyOperation
- implements Serializable
Enables the job if the job copied from is disabled.
- 関連項目:
- 直列化された形式
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
コンストラクタの概要 |
EnableOperation()
Constructor to initialize with the input parameters. |
| クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
getDescriptor |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnableOperation
@DataBoundConstructor
public EnableOperation()
- Constructor to initialize with the input parameters.
For there's no input parameters. Nothing to do.
perform
public Document perform(Document doc,
hudson.EnvVars env,
PrintStream logger)
- Returns modified XML Document of the job configuration.
Enables the job: updates the value in /PROJECT/disabled to false.
- 定義:
- クラス
AbstractXmlJobcopyOperation 内の perform
- パラメータ:
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.
- 戻り値:
- modified XML Document. Return null if an error occurs.
- 関連項目:
AbstractXmlJobcopyOperation.perform(org.w3c.dom.Document, hudson.EnvVars, java.io.PrintStream)
Copyright © 2004-2014. All Rights Reserved.