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.

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

入れ子のクラスの概要
static class EnableOperation.DescriptorImpl
          The internal class to work with views.
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
EnableOperation()
          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
 

コンストラクタの詳細

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.