Class SshKeyPairPredicates
- java.lang.Object
-
- org.jclouds.cloudstack.predicates.SshKeyPairPredicates
-
public class SshKeyPairPredicates extends Object
Predicates handy when working with SshKeyPairs
-
-
Constructor Summary
Constructors Constructor Description SshKeyPairPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.base.Predicate<SshKeyPair>
nameEquals(String name)
matches name of the given keypair starts with the specified prefixstatic com.google.common.base.Predicate<SshKeyPair>
nameMatches(com.google.common.base.Predicate<String> name)
matches name of the given key pair
-
-
-
Method Detail
-
nameMatches
public static com.google.common.base.Predicate<SshKeyPair> nameMatches(com.google.common.base.Predicate<String> name)
matches name of the given key pair- Parameters:
name
-- Returns:
- predicate that matches name
-
nameEquals
public static com.google.common.base.Predicate<SshKeyPair> nameEquals(String name)
matches name of the given keypair starts with the specified prefix- Parameters:
name
- the prefix you are looking for- Returns:
- the predicate
-
-