|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<AdditionalFileset>
jp.ikedam.jenkins.plugins.jobcopy_builder.AdditionalFileset
public class AdditionalFileset
A set of files to copy additional to JOBNAME/config.xml.
| 入れ子のクラスの概要 | |
|---|---|
static class |
AdditionalFileset.DescriptorImpl
The internal class to work with views. |
| コンストラクタの概要 | |
|---|---|
AdditionalFileset(String includeFile,
String excludeFile,
boolean overwrite,
List<JobcopyOperation> jobcopyOperationList)
Constructor to instantiate from parameters in the job configuration page. |
|
| メソッドの概要 | |
|---|---|
String |
getExcludeFile()
Returns the pattern of file not to copy. |
protected List<String> |
getFilesToCopy(File dir)
|
String |
getIncludeFile()
Returns the pattern of file to copy. |
List<JobcopyOperation> |
getJobcopyOperationList()
Returns the list of operations. |
boolean |
isOverwrite()
Returns whether to overwrite an existing job. |
boolean |
perform(hudson.model.TopLevelItem toJob,
hudson.model.TopLevelItem fromJob,
hudson.EnvVars env,
PrintStream logger)
Copy the additional files and apply additional operations. |
protected boolean |
performToFile(File dstFile,
File srcFile,
hudson.EnvVars env,
PrintStream logger)
Process one file. |
| クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
|---|
getDescriptor |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
@DataBoundConstructor
public AdditionalFileset(String includeFile,
String excludeFile,
boolean overwrite,
List<JobcopyOperation> jobcopyOperationList)
includeFile - a pattern of files to copy.excludeFile - a pattern of files not to copy.overwrite - whether to overwrite if the file if it is already existing.jobcopyOperationList - the list of operations to be performed when copying.| メソッドの詳細 |
|---|
public String getIncludeFile()
public String getExcludeFile()
public boolean isOverwrite()
| isOverwrite | behavior |
|---|---|
| true | Overwrite the file. |
| false | Not overwrite the file. |
public List<JobcopyOperation> getJobcopyOperationList()
public boolean perform(hudson.model.TopLevelItem toJob,
hudson.model.TopLevelItem fromJob,
hudson.EnvVars env,
PrintStream logger)
toJob - fromJob - logger -
protected List<String> getFilesToCopy(File dir)
protected boolean performToFile(File dstFile,
File srcFile,
hudson.EnvVars env,
PrintStream logger)
dstFile - srcFile - logger -
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||