org.apache.maven.wagon.providers.ssh.interactive

Class ConsoleInteractiveUserInfo

Implemented Interfaces:
InteractiveUserInfo

public class ConsoleInteractiveUserInfo
extends java.lang.Object
implements InteractiveUserInfo

Shows messages to System.out, and ask replies using an InputHandler
Author:
Juan F. Codagnone
Since:
Sep 12, 2005

Fields inherited from interface org.apache.maven.wagon.providers.ssh.interactive.InteractiveUserInfo

ROLE

Constructor Summary

ConsoleInteractiveUserInfo()
ConsoleInteractiveUserInfo(Prompter prompter)

Method Summary

String
promptPassphrase(String message)
String
promptPassword(String message)
boolean
promptYesNo(String message)
void
showMessage(String message)

Constructor Details

ConsoleInteractiveUserInfo

public ConsoleInteractiveUserInfo()

ConsoleInteractiveUserInfo

public ConsoleInteractiveUserInfo(Prompter prompter)

Method Details

promptPassphrase

public String promptPassphrase(String message)
Specified by:
promptPassphrase in interface InteractiveUserInfo

promptPassword

public String promptPassword(String message)
Specified by:
promptPassword in interface InteractiveUserInfo

promptYesNo

public boolean promptYesNo(String message)
Specified by:
promptYesNo in interface InteractiveUserInfo

showMessage

public void showMessage(String message)
Specified by:
showMessage in interface InteractiveUserInfo