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.1
public static com.google.common.base.Predicate<Extension> aliasEquals(String alias)
alias
- ex. os-keypairs
public static com.google.common.base.Predicate<Extension> namespaceOrAliasEquals(URI namespace, Collection<URI> namespaceAliases)
namespace
- ex http://docs.openstack.org/ext/keypairs/api/v1.1
namespacesAliases
- Collection of ex http://docs.openstack.org/compute/ext/keypairs/api/v1.1
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.