public class SshKeyPairPredicates extends Object
Constructor and Description |
---|
SshKeyPairPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<SshKeyPair> |
nameEquals(String name)
matches name of the given keypair starts with the specified prefix
|
static com.google.common.base.Predicate<SshKeyPair> |
nameMatches(com.google.common.base.Predicate<String> name)
matches name of the given key pair
|
public static com.google.common.base.Predicate<SshKeyPair> nameMatches(com.google.common.base.Predicate<String> name)
name
- public static com.google.common.base.Predicate<SshKeyPair> nameEquals(String name)
name
- the prefix you are looking forCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.