org.schmant.task
Interface ValidatingDecorator

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

public interface ValidatingDecorator
extends TaskDecorator

This defines a task decorator that should be validated when validating the task's other configuration.

Since:
0.5
Author:
Karl Gustafsson

Method Summary
 void validate(Report r, Collection<String> errs)
          Validate the task decorator and add errors to errs.
 

Method Detail

validate

void validate(Report r,
              Collection<String> errs)
Validate the task decorator and add errors to errs.

Parameters:
r - The current Report. Just like for AbstractTask.validate(Report), no validation errors should be logged to this. (They are logged later on.)
errs - A collection of error messages. Add validation error messages to this.