Interface DependencyManagement
- All Known Implementing Classes:
CompositeDependencyManagement
,MavenModelDependencyManagement
,SpringBootDependenciesDependencyManagement
public interface DependencyManagement
An encapsulation of dependency management information.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dependency
find(String artifactId)
Finds the managed dependency with the givenartifactId
.List<Dependency>
getDependencies()
Returns the managed dependencies.String
getSpringBootVersion()
Returns the managed version of Spring Boot.
Method Detail
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
Dependency find(String artifactId)
Finds the managed dependency with the givenartifactId
.- Parameters:
artifactId
- the artifact ID of the dependency to find- Returns:
- the dependency, or
null