blob: d2ea3a310a71ed3f375bd0a0850febdea098e8ca [file] [log] [blame]
/*
* Copyright 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.jelly.tags.ant;
import org.apache.commons.jelly.JellyTagException;
/**
* A tag which provides an Ant Task object on which to set Ant DataTypes or create nested types
*
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
* @version $Revision: 1.6 $
*/
public interface TaskSource {
/**
* @return the Ant object which may be an Ant Task or nested element
*/
public Object getTaskObject() throws JellyTagException;
/**
* Allows nested tags to set a property on the task object of this tag
*/
public void setTaskProperty(String name, Object value) throws JellyTagException;
}