edu.internet2.middleware.ant.input
Class XMultipleChoiceInputRequest
java.lang.Object
org.apache.tools.ant.input.InputRequest
edu.internet2.middleware.ant.input.XMultipleChoiceInputRequest
public class XMultipleChoiceInputRequest
- extends org.apache.tools.ant.input.InputRequest
Methods inherited from class org.apache.tools.ant.input.InputRequest |
getDefaultValue, getInput, getPrompt, setDefaultValue, setInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMultipleChoiceInputRequest
public XMultipleChoiceInputRequest(String prompt,
Vector options)
getOptions
public Vector getOptions()
getChoices
public Vector getChoices()
- Returns:
- The possible values.
isInputValid
public boolean isInputValid()
- Overrides:
isInputValid
in class org.apache.tools.ant.input.InputRequest
- Returns:
- true if the input is one of the allowed values.
Copyright © 2006-2011 Internet2. All Rights Reserved.