From 7f5b584289b647971b745e67d6c903c0b1a7e5d8 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 5 Jun 2012 11:35:43 -0700 Subject: [PATCH] updated javadoc for imageMatches --- .../java/org/jclouds/compute/domain/TemplateBuilder.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/compute/src/main/java/org/jclouds/compute/domain/TemplateBuilder.java b/compute/src/main/java/org/jclouds/compute/domain/TemplateBuilder.java index d99ddb589d..b9509f9343 100644 --- a/compute/src/main/java/org/jclouds/compute/domain/TemplateBuilder.java +++ b/compute/src/main/java/org/jclouds/compute/domain/TemplateBuilder.java @@ -138,6 +138,12 @@ public interface TemplateBuilder { /** * Configure this template to have an image description that matches the supplied condition + * + * ex. + * + *
+    * builder.imageMatches(ImagePredicates.userMetadataContains("author", "sue"));
+    * 
*/ TemplateBuilder imageMatches(Predicate condition); @@ -161,4 +167,4 @@ public interface TemplateBuilder { */ TemplateBuilder options(TemplateOptions options); -} \ No newline at end of file +}