|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
jp.ikedam.jenkins.plugins.jobcopy_builder.JobcopyBuilder
public class JobcopyBuilder
A build step to copy a job. You can specify additional operations that is performed when copying, and the operations can be extended with plugins using Extension Points.
| 入れ子のクラスの概要 | |
|---|---|
static class |
JobcopyBuilder.DescriptorImpl
The internal class to work with views. |
| インタフェース hudson.tasks.BuildStep から継承された入れ子のクラス/インタフェース |
|---|
hudson.tasks.BuildStep.PublisherList |
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| フィールドの概要 |
|---|
| インタフェース hudson.tasks.BuildStep から継承されたフィールド |
|---|
BUILDERS, PUBLISHERS |
| コンストラクタの概要 | |
|---|---|
JobcopyBuilder(String fromJobName,
String toJobName,
boolean overwrite,
List<JobcopyOperation> jobcopyOperationList,
List<AdditionalFileset> additionalFilesetList)
Constructor to instantiate from parameters in the job configuration page. |
|
| メソッドの概要 | |
|---|---|
List<AdditionalFileset> |
getAdditionalFilesetList()
Retuns a list of sets of files to copy additional to JOBNAME/config.xml. |
String |
getFromJobName()
Returns the name of job to be copied from. |
List<JobcopyOperation> |
getJobcopyOperationList()
Returns the list of operations. |
String |
getToJobName()
Returns the name of job to be copied to. |
boolean |
isOverwrite()
Returns whether to overwrite an existing job. |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Performs the build step. |
| クラス hudson.tasks.Builder から継承されたメソッド |
|---|
all, getDescriptor, getRequiredMonitorService, prebuild |
| クラス hudson.tasks.BuildStepCompatibilityLayer から継承されたメソッド |
|---|
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース hudson.tasks.BuildStep から継承されたメソッド |
|---|
getProjectAction, getProjectActions, prebuild |
| コンストラクタの詳細 |
|---|
@DataBoundConstructor
public JobcopyBuilder(String fromJobName,
String toJobName,
boolean overwrite,
List<JobcopyOperation> jobcopyOperationList,
List<AdditionalFileset> additionalFilesetList)
fromJobName - a name of a job to be copied from. may contains variable expressions.toJobName - a name of a job to be copied to. may contains variable expressions.overwrite - whether to overwrite if the job to be copied to is already existing.jobcopyOperationList - the list of operations to be performed when copying.additionalFilesetList - the list of sets of files to copy additional to JOBNAME/config.xml.| メソッドの詳細 |
|---|
public String getFromJobName()
public String getToJobName()
public boolean isOverwrite()
| isOverwrite | behavior |
|---|---|
| true | Overwrite the configuration of the existing job. |
| false | Build fails. |
public List<JobcopyOperation> getJobcopyOperationList()
public List<AdditionalFileset> getAdditionalFilesetList()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
hudson.tasks.BuildStep 内の performhudson.tasks.BuildStepCompatibilityLayer 内の performbuild - launcher - listener -
IOException
InterruptedExceptionBuildStepCompatibilityLayer.perform(hudson.model.AbstractBuild, hudson.Launcher, hudson.model.BuildListener)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||