org.apache.maven.plugins.repository.testutil
Class TestInputHandler

java.lang.Object
  extended by org.apache.maven.plugins.repository.testutil.TestInputHandler
All Implemented Interfaces:
org.codehaus.plexus.components.interactivity.InputHandler

public class TestInputHandler
extends Object
implements org.codehaus.plexus.components.interactivity.InputHandler


Field Summary
 
Fields inherited from interface org.codehaus.plexus.components.interactivity.InputHandler
ROLE
 
Constructor Summary
TestInputHandler()
           
 
Method Summary
 String readLine()
           
 List<String> readMultipleLines()
           
 String readPassword()
           
 void setLineListResponses(Stack<List<String>> lineLists)
           
 void setLineResponses(Stack<String> responses)
           
 void setPasswordResponses(Stack<String> responses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInputHandler

public TestInputHandler()
Method Detail

readLine

public String readLine()
                throws IOException
Specified by:
readLine in interface org.codehaus.plexus.components.interactivity.InputHandler
Throws:
IOException

readMultipleLines

public List<String> readMultipleLines()
                               throws IOException
Specified by:
readMultipleLines in interface org.codehaus.plexus.components.interactivity.InputHandler
Throws:
IOException

readPassword

public String readPassword()
                    throws IOException
Specified by:
readPassword in interface org.codehaus.plexus.components.interactivity.InputHandler
Throws:
IOException

setLineResponses

public void setLineResponses(Stack<String> responses)

setLineListResponses

public void setLineListResponses(Stack<List<String>> lineLists)

setPasswordResponses

public void setPasswordResponses(Stack<String> responses)


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.