public class OperatingSystemPredicates extends Object
ComputeService
.Constructor and Description |
---|
OperatingSystemPredicates() |
Modifier and Type | Method and Description |
---|---|
static 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 like
|
static com.google.common.base.Predicate<OperatingSystem> |
supportsApt()
evaluates true if the OperatingSystem supports the apt installer
|
static com.google.common.base.Predicate<OperatingSystem> |
supportsYum()
evaluates true if the OperatingSystem supports the yum installer
|
static com.google.common.base.Predicate<OperatingSystem> |
supportsZypper()
evaluates true if the OperatingSystem supports the zypper installer
|
public static com.google.common.base.Predicate<OperatingSystem> isUnix()
public static com.google.common.base.Predicate<OperatingSystem> supportsApt()
public static com.google.common.base.Predicate<OperatingSystem> supportsYum()
public static com.google.common.base.Predicate<OperatingSystem> supportsZypper()
public static com.google.common.base.Predicate<OperatingSystem> any()
public static com.google.common.base.Predicate<OperatingSystem> is64Bit()
Copyright © 2009-2012 jclouds. All Rights Reserved.