public interface CopyMethod
extends hudson.ExtensionPoint
| Modifier and Type | Method and Description |
|---|---|
int |
copyAll(hudson.FilePath srcDir,
String filter,
hudson.FilePath targetDir)
Deprecated.
Copy files matching the given file mask to the specified target.
|
void |
copyOne(hudson.FilePath source,
hudson.FilePath target)
Deprecated.
Copy a single file.
|
void |
init(hudson.FilePath srcDir,
hudson.FilePath baseTargetDir)
Deprecated.
Called before copy-artifact operation.
|
void init(hudson.FilePath srcDir,
hudson.FilePath baseTargetDir)
throws IOException,
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)IOExceptionInterruptedExceptionint copyAll(hudson.FilePath srcDir,
String filter,
hudson.FilePath targetDir)
throws IOException,
InterruptedException
srcDir - Source directoryfilter - Ant GLOB patterntargetDir - Target directoryIOExceptionInterruptedExceptionFilePath.copyRecursiveTo(String,FilePath)void copyOne(hudson.FilePath source,
hudson.FilePath target)
throws IOException,
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).IOExceptionInterruptedExceptionFilePath.copyTo(FilePath)Copyright © 2004-2014 Hudson. All Rights Reserved.