Package repast.simphony.batch.ssh
Class RemoteOutputFinderCopier
- java.lang.Object
-
- repast.simphony.batch.ssh.OutputFinder
-
- repast.simphony.batch.ssh.RemoteOutputFinderCopier
-
public class RemoteOutputFinderCopier extends OutputFinder
Copies the output from remote ssh runs into a local directory.- Author:
- Nick Collier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class repast.simphony.batch.ssh.OutputFinder
OutputFinder.Instance
-
-
Field Summary
-
Fields inherited from class repast.simphony.batch.ssh.OutputFinder
logger
-
-
Constructor Summary
Constructors Constructor Description RemoteOutputFinderCopier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MatchedFiles>
run(RemoteSession remote, String remoteDir, String localDir)
-
Methods inherited from class repast.simphony.batch.ssh.OutputFinder
addPattern, addPatterns, createMatches, findFiles
-
-
-
-
Method Detail
-
run
public List<MatchedFiles> run(RemoteSession remote, String remoteDir, String localDir) throws StatusException
- Parameters:
remote
-remoteDir
-localDir
-- Returns:
- a list of the MatchedFiles copied to the local matchine.
- Throws:
com.jcraft.jsch.JSchException
com.jcraft.jsch.SftpException
StatusException
-
-