Package repast.simphony.batch.ssh
Class RemoteOutputFinderCopier
java.lang.Object
repast.simphony.batch.ssh.OutputFinder
repast.simphony.batch.ssh.RemoteOutputFinderCopier
Copies the output from remote ssh runs into a local directory.
- Author:
- Nick Collier
- 
Nested Class SummaryNested classes/interfaces inherited from class repast.simphony.batch.ssh.OutputFinderOutputFinder.Instance
- 
Field SummaryFields inherited from class repast.simphony.batch.ssh.OutputFinderlogger
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class repast.simphony.batch.ssh.OutputFinderaddPattern, addPatterns, createMatches, findFiles
- 
Constructor Details- 
RemoteOutputFinderCopierpublic RemoteOutputFinderCopier()
 
- 
- 
Method Details- 
runpublic 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
 
 
-