Top Description Methods
org.apache.tools.ant.input

public Interface InputHandler

Known Direct Implementers
org.apache.tools.ant.input.PropertyFileInputHandler, org.apache.tools.ant.input.DefaultInputHandler
Imports
org.apache.tools.ant.BuildException

Plugin to Ant to handle requests for user input.
Since
Ant 1.5

Method Summary

Modifier and TypeMethod and Description
public void
handleInput(InputRequest
the request to be processed
request
)

Handle the request encapsulated in the argument.

Method Detail

handleInputback to summary
public void handleInput(InputRequest request) throws BuildException

Handle the request encapsulated in the argument.

Precondition: the request.getPrompt will return a non-null value.

Postcondition: request.getInput will return a non-null value, request.isInputValid will return true.

Parameters
request:InputRequest

the request to be processed

Exceptions
BuildException:
if the input cannot be read from the console