org.apache.tools.ant.input
Class MultipleChoiceInputRequest
public class MultipleChoiceInputRequest
Encapsulates an input request.
MultipleChoiceInputRequest
public MultipleChoiceInputRequest(String prompt,
Vector choices)
prompt
- The prompt to show to the user. Must not be null.choices
- holds all input values that are allowed.
Must not be null.
getChoices
public Vector getChoices()
isInputValid
public boolean isInputValid()
- isInputValid in interface InputRequest
- true if the input is one of the allowed values.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.