org.apache.commons.jelly.tags.ant
Interface TaskSource

All Known Implementing Classes:
AntTag, FileScannerTag

public interface TaskSource

A tag which provides an Ant Task object on which to set Ant DataTypes or create nested types

Version:
$Revision: 155420 $
Author:
James Strachan

Method Summary
 java.lang.Object getTaskObject()
           
 void setTaskProperty(java.lang.String name, java.lang.Object value)
          Allows nested tags to set a property on the task object of this tag
 

Method Detail

getTaskObject

public java.lang.Object getTaskObject()
                               throws org.apache.commons.jelly.JellyTagException
Returns:
the Ant object which may be an Ant Task or nested element
Throws:
org.apache.commons.jelly.JellyTagException

setTaskProperty

public void setTaskProperty(java.lang.String name,
                            java.lang.Object value)
                     throws org.apache.commons.jelly.JellyTagException
Allows nested tags to set a property on the task object of this tag

Throws:
org.apache.commons.jelly.JellyTagException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.