edu.internet2.middleware.ant.input
Class XMultipleChoiceInputRequest

java.lang.Object
  extended by org.apache.tools.ant.input.InputRequest
      extended by edu.internet2.middleware.ant.input.XMultipleChoiceInputRequest

public class XMultipleChoiceInputRequest
extends org.apache.tools.ant.input.InputRequest


Constructor Summary
XMultipleChoiceInputRequest(String prompt, Vector options)
           
 
Method Summary
 Vector getChoices()
           
 Vector getOptions()
           
 boolean isInputValid()
           
 
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
 

Constructor Detail

XMultipleChoiceInputRequest

public XMultipleChoiceInputRequest(String prompt,
                                   Vector options)
Method Detail

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.