Class PresentWhenExtensionAnnotationMatchesExtensionSet
java.lang.Object
org.jclouds.openstack.v2_0.functions.PresentWhenExtensionAnnotationMatchesExtensionSet
- All Implemented Interfaces:
com.google.common.base.Function<InvocationSuccess,
,com.google.common.base.Optional<Object>> Function<InvocationSuccess,
,com.google.common.base.Optional<Object>> ImplicitOptionalConverter
public class PresentWhenExtensionAnnotationMatchesExtensionSet
extends Object
implements ImplicitOptionalConverter
We use the annotation
Extension
to bind a class that implements an extension
API to an Extension
.
Match in the following order:
1. Match by namespace
2. Match by namespace aliases
3. Match by alias
4. Match by name
New versions of openstack have no namespaces anymore.
Alias is different than a namespace alias - it's an alternative namespace URL to match against.-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.base.Optional
<Object> apply
(InvocationSuccess input) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<InvocationSuccess,
com.google.common.base.Optional<Object>> - Specified by:
apply
in interfaceFunction<InvocationSuccess,
com.google.common.base.Optional<Object>>
-
toString
-