public class ExtensionPredicates extends Object
| Constructor and Description |
|---|
ExtensionPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Extension> |
aliasEquals(String alias)
matches alias of the given extension
|
static com.google.common.base.Predicate<Extension> |
namespaceEquals(URI namespace)
matches namespace of the given extension
|
static com.google.common.base.Predicate<Extension> |
namespaceOrAliasEquals(URI namespace,
Collection<URI> namespaceAliases)
matches namespace of the given extension
|
public static com.google.common.base.Predicate<Extension> namespaceEquals(URI namespace)
namespace - ex http://docs.openstack.org/ext/keypairs/api/v1.1public static com.google.common.base.Predicate<Extension> aliasEquals(String alias)
alias - ex. os-keypairspublic static com.google.common.base.Predicate<Extension> namespaceOrAliasEquals(URI namespace, Collection<URI> namespaceAliases)
namespace - ex http://docs.openstack.org/ext/keypairs/api/v1.1namespacesAliases - Collection of ex http://docs.openstack.org/compute/ext/keypairs/api/v1.1Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.