org.jenkinsci.plugins.configfiles.buildwrapper
Class ManagedFileUtil
java.lang.Object
org.jenkinsci.plugins.configfiles.buildwrapper.ManagedFileUtil
public class ManagedFileUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedFileUtil
public ManagedFileUtil()
createTempFile
public static hudson.FilePath createTempFile(hudson.remoting.VirtualChannel channel)
throws IOException,
InterruptedException
- creates a tmp file on the given channel
- Throws:
IOException
InterruptedException
provisionConfigFiles
public static Map<ManagedFile,hudson.FilePath> provisionConfigFiles(List<ManagedFile> managedFiles,
hudson.FilePath workSpace,
PrintStream logger)
throws IOException,
InterruptedException
- provisions (publishes) the given files to the workspace.
- Parameters:
managedFiles - the files to be provisionedworkSpace - target workspacelogger - the logger
- Returns:
- a map of all the files copied, mapped to the path of the remote location, never
null.
- Throws:
IOException
InterruptedException
Copyright © 2004-2012. All Rights Reserved.