public interface InputHandler
Modifier and Type | Method and Description |
---|---|
void |
handleInput(InputRequest request)
Handle the request encapsulated in the argument.
|
void handleInput(InputRequest request) throws BuildException
Precondition: the request.getPrompt will return a non-null value.
Postcondition: request.getInput will return a non-null value, request.isInputValid will return true.
request
- the request to be processedBuildException
- if the input cannot be read from the console