public class AdditionalFileset extends hudson.model.AbstractDescribableImpl<AdditionalFileset> implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
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.
|
@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 boolean performToFile(File dstFile, File srcFile, hudson.EnvVars env, PrintStream logger)
dstFile - srcFile - logger - Copyright © 2004-2013. All Rights Reserved.