java.lang.Object
org.eclipse.ant.internal.core.ant.NullInputHandler
- All Implemented Interfaces:
- org.apache.tools.ant.input.InputHandler
- public class NullInputHandler
- extends java.lang.Object
- implements org.apache.tools.ant.input.InputHandler
A input handler that does nothing with input requests
Used to ensure we do not block while retrieving targets from an Ant buildfile
that has an input task in the top level implicit target
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullInputHandler
public NullInputHandler()
handleInput
public void handleInput(org.apache.tools.ant.input.InputRequest request)
throws org.apache.tools.ant.BuildException
- Description copied from interface:
org.apache.tools.ant.input.InputHandler
- 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.
- Specified by:
handleInput in interface org.apache.tools.ant.input.InputHandler