org.schmant.task
Interface TaskDecorator

All Known Subinterfaces:
CustomDocletDecorator<T>, EntityResolverDecorator<T>, ExtJavadocTaskDecorator, ExtJavaTaskDecorator<T>, JavadocTaskDecorator, LSResourceResolverDecorator<T>, PathDecorator<T,U>, PdfDocletDecorator<T>, StandardDocletDecorator<T>, UriResolverDecorator<T>, ValidatingDecorator
All Known Implementing Classes:
AbstractCustomDocletDecorator, AbstractExtJavaTaskDecorator, AbstractPdfDocletDecorator, AbstractStandardDocletDecorator, ExtPdfDocletDecorator, ExtStandardDocletDecorator, JavaProjectClasspathDecorator

public interface TaskDecorator

This interface is an empty base interface for other task decorator interfaces. It does not define any methods; it just says that the task implementing it is a task decorator.

A task decorator is an object that extends a Task's functionality in some way. That that functionality has been put in a decorator by the task (factory)'s implementer implies that there are (or could be) several different types of similar decorators. For instance, the Javadoc task has one decorator for generating documentation using the standard doclet and one decorator for generating PDF documentation. To have all that configuration in the Javadoc task factory itself would make it (more) unwieldy.

A task may choose if one or several decorators of the same type is allowed.

Since:
0.5
Author:
Karl Gustafsson