Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ant.internal.core.ant
Class NullInputHandler  view NullInputHandler download NullInputHandler.java

java.lang.Object
  extended byorg.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


Constructor Summary
NullInputHandler()
           
 
Method Summary
 void handleInput(org.apache.tools.ant.input.InputRequest request)
          Handle the request encapsulated in the argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullInputHandler

public NullInputHandler()
Method Detail

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