Class DefaultPrompter
java.lang.Object
org.codehaus.plexus.components.interactivity.DefaultPrompter
- All Implemented Interfaces:
Prompter
Default prompter.
- Version:
- $Id: DefaultPrompter.java 2649 2005-10-10 16:51:51Z brett $
- Author:
- Brett Porter
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpromptForPassword
(String message) void
showMessage
(String message)
-
Constructor Details
-
DefaultPrompter
public DefaultPrompter()
-
-
Method Details
-
prompt
- Specified by:
prompt
in interfacePrompter
- Throws:
PrompterException
-
prompt
- Specified by:
prompt
in interfacePrompter
- Throws:
PrompterException
-
prompt
public String prompt(String message, List possibleValues, String defaultReply) throws PrompterException - Specified by:
prompt
in interfacePrompter
- Throws:
PrompterException
-
prompt
- Specified by:
prompt
in interfacePrompter
- Throws:
PrompterException
-
promptForPassword
- Specified by:
promptForPassword
in interfacePrompter
- Throws:
PrompterException
-
showMessage
- Specified by:
showMessage
in interfacePrompter
- Throws:
PrompterException
-