1 /******************************************************************************* 2 * Copyright (c) 2003, 2005 BBDO Detroit and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * Thierry Lach (thierry.lach@bbdodetroit.com) - initial API and implementation for bug 40502 10 *******************************************************************************/ 11 package org.eclipse.ant.core; 12 13 /** 14 * An interface that must be implemented by plug-ins that wish to contribute 15 * predefined variables to an Ant project when run from within Eclipse. 16 * Clients may implement this interface. 17 * @since 3.0 18 */ 19 public interface IAntPropertyValueProvider { 20 21 /** 22 * Returns a value that the Ant entry point will use to set the 23 * value of the Ant property. 24 * 25 * @param antPropertyName the Ant property to set 26 * @return the value for the property, 27 * or <code>null</code> if the property should not be set 28 */ 29 public String getAntPropertyValue(String antPropertyName); 30 }