updated javadoc for imageMatches

This commit is contained in:
Adrian Cole 2012-06-05 11:35:43 -07:00
parent 7fadf8b08b
commit 7f5b584289
1 changed files with 7 additions and 1 deletions

View File

@ -138,6 +138,12 @@ public interface TemplateBuilder {
/**
* Configure this template to have an image description that matches the supplied condition
*
* ex.
*
* <pre>
* builder.imageMatches(ImagePredicates.userMetadataContains("author", "sue"));
* </pre>
*/
TemplateBuilder imageMatches(Predicate<Image> condition);
@ -161,4 +167,4 @@ public interface TemplateBuilder {
*/
TemplateBuilder options(TemplateOptions options);
}
}