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

java.lang.Object
  extended by org.apache.maven.wagon.providers.ssh.interactive.ConsoleInteractiveUserInfo
All Implemented Interfaces:
InteractiveUserInfo

public class ConsoleInteractiveUserInfo
extends Object
implements InteractiveUserInfo

Shows messages to System.out, and ask replies using an InputHandler

Since:
Sep 12, 2005
Author:
Juan F. Codagnone
Plexus component:
role:
"org.apache.maven.wagon.providers.ssh.interactive.InteractiveUserInfo"
instantiation-strategy:
"per-lookup"

Field Summary
 
Fields inherited from interface org.apache.maven.wagon.providers.ssh.interactive.InteractiveUserInfo
ROLE
 
Constructor Summary
ConsoleInteractiveUserInfo()
           
ConsoleInteractiveUserInfo(org.codehaus.plexus.components.interactivity.Prompter prompter)
           
 
Method Summary
 String promptPassphrase(String message)
           
 String promptPassword(String message)
           
 boolean promptYesNo(String message)
           
 void showMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleInteractiveUserInfo

public ConsoleInteractiveUserInfo()

ConsoleInteractiveUserInfo

public ConsoleInteractiveUserInfo(org.codehaus.plexus.components.interactivity.Prompter prompter)
Method Detail

promptYesNo

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

showMessage

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

promptPassword

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

promptPassphrase

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


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.