org.schmant.task.confable
Interface TaskDecoratorConfigurable<T extends TaskDecoratorConfigurable<T,U>,U extends TaskDecorator>

All Known Subinterfaces:
ExtJavaTaskConfigurable<T>, JavadocTaskConfigurable<T>
All Known Implementing Classes:
AbstractExtJavaTaskFactory, AbstractJavadocTaskFactory, ExtJavadocTF, JavaTF, JUnit4TF

public interface TaskDecoratorConfigurable<T extends TaskDecoratorConfigurable<T,U>,U extends TaskDecorator>

This interface defines an object that is configurable using some kind of TaskDecorator.

Since:
0.5
Author:
Karl Gustafsson

Method Summary
 T addDecorator(U d)
          Add one task decorator.
 T addDecorators(Object o)
          Add one or several task decorators.
 T clearDecorators()
          Clear the list of decorators.
 

Method Detail

addDecorator

T addDecorator(U d)
Add one task decorator.

Parameters:
d - The task decorator
Returns:
this

addDecorators

T addDecorators(Object o)
Add one or several task decorators.

Parameters:
o - One decorator or an array or collection of decorators.
Returns:
this

clearDecorators

T clearDecorators()
Clear the list of decorators.

Returns:
this