public class LinkUtils extends Object
RESTLink
objects.Constructor and Description |
---|
LinkUtils() |
Modifier and Type | Method and Description |
---|---|
static List<com.abiquo.model.rest.RESTLink> |
filterNicLinks(List<com.abiquo.model.rest.RESTLink> links)
Filter the given link list and return only the links that point to a NIC.
|
static com.abiquo.model.rest.RESTLink |
getSelfLink(com.abiquo.model.transport.SingleResourceTransportDto dto)
Get the link that points to the current resource.
|
public static com.abiquo.model.rest.RESTLink getSelfLink(com.abiquo.model.transport.SingleResourceTransportDto dto)
dto
- The target dto.public static List<com.abiquo.model.rest.RESTLink> filterNicLinks(List<com.abiquo.model.rest.RESTLink> links)
links
- The list with the links to filter.Copyright © 2009-2013 jclouds. All Rights Reserved.