org.apache.tools.ant.input
public class MultipleChoiceInputRequest extends InputRequest
Since: Ant 1.5
Constructor Summary | |
---|---|
MultipleChoiceInputRequest(String prompt, Vector choices) |
Method Summary | |
---|---|
Vector | getChoices() |
boolean | isInputValid() |
Parameters: prompt The prompt to show to the user. Must not be null. choices holds all input values that are allowed. Must not be null.
Returns: The possible values.
Returns: true if the input is one of the allowed values.