org.codehaus.plexus.components.interactivity
Class DefaultPrompter
java.lang.Object
org.codehaus.plexus.components.interactivity.DefaultPrompter
- All Implemented Interfaces:
- Prompter
public class DefaultPrompter
- extends Object
- implements Prompter
Default prompter.
- Version:
- $Id: DefaultPrompter.java 2649 2005-10-10 16:51:51Z brett $
- Author:
- Brett Porter
Fields inherited from interface org.codehaus.plexus.components.interactivity.Prompter |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPrompter
public DefaultPrompter()
prompt
public String prompt(String message)
throws PrompterException
- Specified by:
prompt
in interface Prompter
- Throws:
PrompterException
prompt
public String prompt(String message,
String defaultReply)
throws PrompterException
- Specified by:
prompt
in interface Prompter
- Throws:
PrompterException
prompt
public String prompt(String message,
List possibleValues,
String defaultReply)
throws PrompterException
- Specified by:
prompt
in interface Prompter
- Throws:
PrompterException
prompt
public String prompt(String message,
List possibleValues)
throws PrompterException
- Specified by:
prompt
in interface Prompter
- Throws:
PrompterException
promptForPassword
public String promptForPassword(String message)
throws PrompterException
- Specified by:
promptForPassword
in interface Prompter
- Throws:
PrompterException
showMessage
public void showMessage(String message)
throws PrompterException
- Specified by:
showMessage
in interface Prompter
- Throws:
PrompterException
Copyright © 2001-2011 Codehaus. All Rights Reserved.