public class ImagePredicates extends Object
ComputeService.| Constructor and Description | 
|---|
| ImagePredicates() | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.google.common.base.Predicate<Image> | any()return everything. | 
| static com.google.common.base.Predicate<Image> | idEquals(String id)evaluates true if the Image | 
| static com.google.common.base.Predicate<Image> | idIn(Iterable<String> ids)evaluates true if the Image id is in the supplied set | 
| static com.google.common.base.Predicate<Image> | is64Bit()return true if this is a 64bit image. | 
| static com.google.common.base.Predicate<Image> | userMetadataContains(String key,
                    String value)evaluates true if the Image metadata contains the following values | 
public static com.google.common.base.Predicate<Image> idIn(Iterable<String> ids)
ids - ids of the imagespublic static com.google.common.base.Predicate<Image> userMetadataContains(String key, String value)
key - key in Image#getUserMetadatavalue - value in Image#getUserMetadatapublic static com.google.common.base.Predicate<Image> idEquals(String id)
ids - ids of the imagespublic static com.google.common.base.Predicate<Image> is64Bit()
public static com.google.common.base.Predicate<Image> any()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.