Interface DependencyManagement
- All Known Implementing Classes:
CompositeDependencyManagement
,MavenModelDependencyManagement
,SpringBootDependenciesDependencyManagement
public interface DependencyManagement
An encapsulation of dependency management information.
- Since:
- 1.3.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionFinds the managed dependency with the givenartifactId
.Returns the managed dependencies.Returns the managed version of Spring Boot.
-
Method Details
-
getDependencies
List<Dependency> getDependencies()Returns the managed dependencies.- Returns:
- the managed dependencies
-
getSpringBootVersion
String getSpringBootVersion()Returns the managed version of Spring Boot. May benull
.- Returns:
- the Spring Boot version, or
null
-
find
Finds the managed dependency with the givenartifactId
.- Parameters:
artifactId
- the artifact ID of the dependency to find- Returns:
- the dependency, or
null
-