Package repast.simphony.batch.ssh
Class ConsoleUserInfo
java.lang.Object
repast.simphony.batch.ssh.ConsoleUserInfo
- All Implemented Interfaces:
com.jcraft.jsch.UserInfo
Console based user info.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
promptPassphrase
(String prompt) boolean
promptPassword
(String prompt) boolean
promptYesNo
(String arg0) void
showMessage
(String msg)
-
Constructor Details
-
ConsoleUserInfo
public ConsoleUserInfo()
-
-
Method Details
-
getPassphrase
- Specified by:
getPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
getPassword
- Specified by:
getPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptPassphrase
- Specified by:
promptPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptPassword
- Specified by:
promptPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptYesNo
- Specified by:
promptYesNo
in interfacecom.jcraft.jsch.UserInfo
-
showMessage
- Specified by:
showMessage
in interfacecom.jcraft.jsch.UserInfo
-