com.zanox.hudson.plugins
Class EntryCopier
java.lang.Object
com.zanox.hudson.plugins.EntryCopier
public class EntryCopier
- extends java.lang.Object
Field Summary |
protected static java.text.SimpleDateFormat |
ID_FORMATTER
|
Constructor Summary |
EntryCopier(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
FTPSite ftpSite,
boolean flatten,
boolean useTimestamps)
|
Method Summary |
int |
copy(Entry entry)
|
void |
copyFile(hudson.FilePath sourceFile,
java.lang.String destDir,
java.lang.String baseSourceDir)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_FORMATTER
protected static final java.text.SimpleDateFormat ID_FORMATTER
EntryCopier
public EntryCopier(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
FTPSite ftpSite,
boolean flatten,
boolean useTimestamps)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
copy
public int copy(Entry entry)
throws java.io.IOException,
com.jcraft.jsch.SftpException,
java.lang.InterruptedException
- Throws:
java.io.IOException
com.jcraft.jsch.SftpException
java.lang.InterruptedException
copyFile
public void copyFile(hudson.FilePath sourceFile,
java.lang.String destDir,
java.lang.String baseSourceDir)
throws java.io.IOException,
com.jcraft.jsch.SftpException,
java.lang.InterruptedException
- Throws:
java.io.IOException
com.jcraft.jsch.SftpException
java.lang.InterruptedException
Copyright © 2011. All Rights Reserved.