org.jclouds.ec2.compute.predicates
Class EC2ImagePredicates

java.lang.Object
  extended by org.jclouds.ec2.compute.predicates.EC2ImagePredicates

public class EC2ImagePredicates
extends Object

Container for image filters (predicates). This class has static methods that create customized predicates to use with ComputeService.

Author:
Adrian Cole

Constructor Summary
EC2ImagePredicates()
           
 
Method Summary
static com.google.common.base.Predicate<Image> rootDeviceType(RootDeviceType rootDeviceType)
          evaluates true if the Image has the specified root device type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EC2ImagePredicates

public EC2ImagePredicates()
Method Detail

rootDeviceType

public static com.google.common.base.Predicate<Image> rootDeviceType(RootDeviceType rootDeviceType)
evaluates true if the Image has the specified root device type

Parameters:
rootDeviceType - rootDeviceType of the images
Returns:
predicate


Copyright © 2009-2012 jclouds. All Rights Reserved.