|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CopyMethod
Extension point for how files are copied. CopyArtifact plugin provides a default implementation using methods available in Hudson's FilePath class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Method Summary | |
|---|---|
int |
copyAll(hudson.FilePath srcDir,
java.lang.String filter,
hudson.FilePath targetDir)
Copy files matching the given file mask to the specified target. |
void |
copyOne(hudson.FilePath source,
hudson.FilePath target)
Copy a single file. |
void |
init(hudson.FilePath srcDir,
hudson.FilePath baseTargetDir)
Called before copy-artifact operation. |
| Method Detail |
|---|
void init(hudson.FilePath srcDir,
hudson.FilePath baseTargetDir)
throws java.io.IOException,
java.lang.InterruptedException
srcDir - Source for upcoming file copybaseTargetDir - Base target dir for upcoming file copy (the copy-artifact
build step may later specify a deeper target dir)
java.io.IOException
java.lang.InterruptedException
int copyAll(hudson.FilePath srcDir,
java.lang.String filter,
hudson.FilePath targetDir)
throws java.io.IOException,
java.lang.InterruptedException
srcDir - Source directoryfilter - Ant GLOB patterntargetDir - Target directory
java.io.IOException
java.lang.InterruptedExceptionFilePath.copyRecursiveTo(String,FilePath)
void copyOne(hudson.FilePath source,
hudson.FilePath target)
throws java.io.IOException,
java.lang.InterruptedException
source - Source filetarget - Target file (includes filename; this is not the target directory).
Directory for target should already exist (copy-artifact build step calls mkdirs).
java.io.IOException
java.lang.InterruptedExceptionFilePath.copyTo(FilePath)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||