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 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
-
Method Summary
Methods inherited from class repast.simphony.batch.ssh.OutputFinder
addPattern, addPatterns, createMatches, findFiles
-
Constructor Details
-
RemoteOutputFinderCopier
public RemoteOutputFinderCopier()
-
-
Method Details
-
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
-