org.jclouds.vcloud.director.v1_5.functions
Class URNToHref
java.lang.Object
org.jclouds.vcloud.director.v1_5.functions.URNToHref
- All Implemented Interfaces:
- com.google.common.base.Function<Object,URI>
- Direct Known Subclasses:
- CatalogItemURNToHref, CatalogURNToAdminHref, CatalogURNToHref, GroupURNToHref, MediaURNToHref, NetworkURNToAdminHref, NetworkURNToHref, OrgURNToAdminHref, OrgURNToHref, TasksListURNToHref, TaskURNToHref, UserURNToHref, VAppTemplateURNToHref, VAppURNToHref, VdcURNToAdminHref, VdcURNToHref, VmURNToHref
@Singleton
public abstract class URNToHref
- extends Object
- implements com.google.common.base.Function<Object,URI>
Resolves URN to its HREF via the entity Resolver
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
URNToHref
@Inject
public URNToHref(com.google.common.cache.LoadingCache<String,Entity> resolveEntityCache)
type
protected abstract String type()
- media type to search for.
- See Also:
VCloudDirectorMediaType
apply
public URI apply(@Nullable
Object from)
- Specified by:
apply in interface com.google.common.base.Function<Object,URI>
Copyright © 2009-2012 jclouds. All Rights Reserved.