Package org.jclouds.compute.predicates
Class OperatingSystemPredicates
java.lang.Object
org.jclouds.compute.predicates.OperatingSystemPredicates
Container for operating system filters (predicates).
 
 This class has static methods that create customized predicates to use with
 
ComputeService.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate<OperatingSystem> any()return everything.static com.google.common.base.Predicate<OperatingSystem> is64Bit()return true if this is a 64bit os.static com.google.common.base.Predicate<OperatingSystem> isUnix()evaluates true if the OperatingSystem is unix likestatic com.google.common.base.Predicate<OperatingSystem> evaluates true if the OperatingSystem supports the apt installerstatic com.google.common.base.Predicate<OperatingSystem> evaluates true if the OperatingSystem supports the yum installerstatic com.google.common.base.Predicate<OperatingSystem> evaluates true if the OperatingSystem supports the zypper installer 
- 
Constructor Details
- 
OperatingSystemPredicates
public OperatingSystemPredicates() 
 - 
 - 
Method Details
- 
isUnix
evaluates true if the OperatingSystem is unix like - 
supportsApt
evaluates true if the OperatingSystem supports the apt installer - 
supportsYum
evaluates true if the OperatingSystem supports the yum installer - 
supportsZypper
evaluates true if the OperatingSystem supports the zypper installer - 
any
return everything. - 
is64Bit
return true if this is a 64bit os. 
 -