jp.ikedam.jenkins.plugins.jobcopy_builder
クラス DisableOperation

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.DisableOperation
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<JobcopyOperation>, Serializable

public class DisableOperation
extends AbstractXmlJobcopyOperation
implements Serializable

Disables the job if the job copied from is enabled.

関連項目:
直列化された形式

入れ子のクラスの概要
static class DisableOperation.DescriptorImpl
          The internal class to work with views.
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
DisableOperation()
          Constructor to initialize with the input parameters.
 
メソッドの概要
 Document perform(Document doc, hudson.EnvVars env, PrintStream logger)
          Returns modified XML Document of the job configuration.
 
クラス jp.ikedam.jenkins.plugins.jobcopy_builder.AbstractXmlJobcopyOperation から継承されたメソッド
getNode, getNodeList, getXpath, perform
 
クラス jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyOperation から継承されたメソッド
all
 
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DisableOperation

@DataBoundConstructor
public DisableOperation()
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. Disables the job: updates the value in /PROJECT/disabled to true.

定義:
クラス 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-2015. All Rights Reserved.