public class RootResourceInformationToAlpsDescriptorConverter extends Object
Descriptor instances for a RootResourceInformation.| Constructor and Description |
|---|
RootResourceInformationToAlpsDescriptorConverter(ResourceMappings mappings,
Repositories repositories,
PersistentEntities entities,
org.springframework.hateoas.EntityLinks entityLinks,
MessageSourceAccessor messageSource,
RepositoryRestConfiguration configuration,
com.fasterxml.jackson.databind.ObjectMapper mapper,
EnumTranslator translator)
Creates a new
RootResourceInformationToAlpsDescriptorConverter instance. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.alps.Alps |
convert(RootResourceInformation resourceInformation) |
public RootResourceInformationToAlpsDescriptorConverter(ResourceMappings mappings, Repositories repositories, PersistentEntities entities, org.springframework.hateoas.EntityLinks entityLinks, MessageSourceAccessor messageSource, RepositoryRestConfiguration configuration, com.fasterxml.jackson.databind.ObjectMapper mapper, EnumTranslator translator)
RootResourceInformationToAlpsDescriptorConverter instance.mappings - must not be null.repositories - must not be null.entities - must not be null.entityLinks - must not be null.messageSource - must not be null.configuration - must not be null.mapper - must not be null.translator - must not be null.public org.springframework.hateoas.alps.Alps convert(RootResourceInformation resourceInformation)
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.