blob: 9441b1f849380639b4c0eec54745a5c0eb399a06 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ant.tests.core.support.inputHandlers;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.input.DefaultInputHandler;
import org.apache.tools.ant.input.InputRequest;
/**
* A test input handler when using Ant within Eclipse.
* This is the class that will respond to <input> requests from
* within an Ant build file.
*/
public class AntTestInputHandler extends DefaultInputHandler {
/**
* @see org.apache.tools.ant.input.InputHandler#handleInput(org.apache.tools.ant.input.InputRequest)
*/
public void handleInput(InputRequest request) throws BuildException {
request.setInput("testing handling input requests");
}
}