public class InitializrMetadataV21JsonMapper extends InitializrMetadataV2JsonMapper
InitializrMetadataJsonMapper handling the metadata format for v2.1
Version 2.1 brings the "compatibilityRange" attribute for a dependency to restrict the Spring Boot versions that can be used against it. That version also adds an additional `dependencies` endpoint.
| Constructor and Description |
|---|
InitializrMetadataV21JsonMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatVersionRange(VersionRange versionRange) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
links(com.fasterxml.jackson.databind.node.ObjectNode parent,
List<Type> types,
String appUrl) |
protected com.fasterxml.jackson.databind.node.ObjectNode |
mapDependency(Dependency dependency) |
dependencies, formatVersion, link, mapDependencyGroup, mapType, mapValue, nodeFactory, singleSelect, singleSelect, text, type, writeprotected com.fasterxml.jackson.databind.node.ObjectNode links(com.fasterxml.jackson.databind.node.ObjectNode parent,
List<Type> types,
String appUrl)
links in class InitializrMetadataV2JsonMapperprotected com.fasterxml.jackson.databind.node.ObjectNode mapDependency(Dependency dependency)
mapDependency in class InitializrMetadataV2JsonMapperprotected String formatVersionRange(VersionRange versionRange)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.