|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.input.InputRequest
edu.internet2.middleware.ant.input.XInputRequest
public class XInputRequest
Extended version of org.apache.tools.ant.input.InputRequest
Constructor Summary | |
---|---|
XInputRequest(String prompt)
|
Method Summary | |
---|---|
String |
getInput()
Retrieves the user input. |
String |
getPrompt()
Retrieves the prompt text. |
boolean |
isInputValid()
Is the user input valid? |
void |
setInput(String input)
Sets the user provided input. |
Methods inherited from class org.apache.tools.ant.input.InputRequest |
---|
getDefaultValue, setDefaultValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XInputRequest(String prompt)
prompt
- The prompt to show to the user. Must not be null.Method Detail |
---|
public String getPrompt()
getPrompt
in class org.apache.tools.ant.input.InputRequest
public void setInput(String input)
setInput
in class org.apache.tools.ant.input.InputRequest
public boolean isInputValid()
isInputValid
in class org.apache.tools.ant.input.InputRequest
public String getInput()
getInput
in class org.apache.tools.ant.input.InputRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |