public class DefaultDependencyMetadataProvider extends Object implements DependencyMetadataProvider
DependencyMetadataProvider
implementation.Constructor and Description |
---|
DefaultDependencyMetadataProvider() |
Modifier and Type | Method and Description |
---|---|
DependencyMetadata |
get(InitializrMetadata metadata,
Version bootVersion)
Return the dependency metadata to use for the specified
bootVersion . |
@Cacheable(cacheNames="initializr.dependency-metadata", key="#p1") public DependencyMetadata get(InitializrMetadata metadata, Version bootVersion)
DependencyMetadataProvider
bootVersion
.get
in interface DependencyMetadataProvider
metadata
- the intializr metadatabootVersion
- the Spring Boot versionCopyright © 2020 Pivotal Software, Inc.. All rights reserved.