Interface InputHandler

    • Method Detail

      • handleInput

        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 - the request to be processed
        Throws:
        BuildException - if the input cannot be read from the console