|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<JobcopyOperation>
jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyOperation
jp.ikedam.jenkins.plugins.jobcopy_builder.AbstractXmlJobcopyOperation
public abstract class AbstractXmlJobcopyOperation
Abstract class for job copy operation using XML DOM.
JobcopyOperation| 入れ子のクラスの概要 |
|---|
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| コンストラクタの概要 | |
|---|---|
AbstractXmlJobcopyOperation()
|
|
| メソッドの概要 | |
|---|---|
protected Node |
getNode(Document doc,
String xpath)
Retrieve a XML node using XPath. |
protected NodeList |
getNodeList(Document doc,
String xpathExpression)
Retrieve a XML node list using XPath. |
protected String |
getXpath(Node targetNode)
Retrieve a XPath expression of a node. |
abstract Document |
perform(Document doc,
hudson.EnvVars env,
PrintStream logger)
Performs modifications to job configure XML Document. |
String |
perform(String xmlString,
String encoding,
hudson.EnvVars env,
PrintStream logger)
Returns modified XML string of the job configuration. |
| クラス 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 |
| コンストラクタの詳細 |
|---|
public AbstractXmlJobcopyOperation()
| メソッドの詳細 |
|---|
public abstract Document perform(Document doc,
hudson.EnvVars env,
PrintStream logger)
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.
public String perform(String xmlString,
String encoding,
hudson.EnvVars env,
PrintStream logger)
JobcopyOperation 内の performxmlString - 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.
JobcopyOperation.perform(java.lang.String, java.lang.String, hudson.EnvVars, java.io.PrintStream)
protected Node getNode(Document doc,
String xpath)
throws XPathExpressionException
doc - the XML Document object.xpath - a XPath specifying the retrieving node.
XPathExpressionException
protected NodeList getNodeList(Document doc,
String xpathExpression)
throws XPathExpressionException
doc - the XML Document object.xpathExpression - a XPath specifying the retrieving nodes.
XPathExpressionExceptionprotected String getXpath(Node targetNode)
targetNode - a node whose XPath expression is retrieved.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||