Class AntDataLoader
java.lang.Object
fmpp.dataloaders.AntDataLoader
- All Implemented Interfaces:
DataLoader
- Direct Known Subclasses:
AntProjectDataLoader, AntPropertiesDataLoader, AntPropertyDataLoader, AntTaskDataLoader
Abstract base class of Ant related data loaders.
-
Field Details
-
ATTRIBUTE_ANT_TASK
-
-
Constructor Details
-
AntDataLoader
public AntDataLoader()
-
-
Method Details
-
load
Gets the Ant task object, and invokedload(Engine, List, Task).- Specified by:
loadin interfaceDataLoader- Parameters:
args- Arguments that the caller specifies for this directive call. Not null. The implementation should check if it understands all arguments, and it should throwjava.lang.IllegalArgumentExceptionif it doesn't.- Returns:
- The object that will be accessed in FreeMarker templates.
The object can be of any type. FreeMarker will wrap the object so
that it is visible as an FTL variable. However, if the object
implements
freemarker.template.TemplateModel, then it will not be wrapped, as it is already an FTL variable. - Throws:
Exception
-
load
-