Class DependencyManagementArtifactCoordinatesResolver
java.lang.Object
org.springframework.boot.cli.compiler.dependencies.DependencyManagementArtifactCoordinatesResolver
- All Implemented Interfaces:
ArtifactCoordinatesResolver
public class DependencyManagementArtifactCoordinatesResolver
extends Object
implements ArtifactCoordinatesResolver
- Since:
- 1.0.0
- Author:
- Phillip Webb, Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionDependencyManagementArtifactCoordinatesResolver
(DependencyManagement dependencyManagement) -
Method Summary
Modifier and TypeMethodDescriptiongetArtifactId
(String id) Gets the artifact id of the artifact identified by the givenmodule
.getGroupId
(String artifactId) Gets the group id of the artifact identified by the givenmodule
.getVersion
(String module) Gets the version of the artifact identified by the givenmodule
.
-
Constructor Details
-
DependencyManagementArtifactCoordinatesResolver
public DependencyManagementArtifactCoordinatesResolver() -
DependencyManagementArtifactCoordinatesResolver
-
-
Method Details
-
getGroupId
Description copied from interface:ArtifactCoordinatesResolver
Gets the group id of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- Specified by:
getGroupId
in interfaceArtifactCoordinatesResolver
- Parameters:
artifactId
- the id of the module- Returns:
- the group id of the module
-
getArtifactId
Description copied from interface:ArtifactCoordinatesResolver
Gets the artifact id of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- Specified by:
getArtifactId
in interfaceArtifactCoordinatesResolver
- Parameters:
id
- the id of the module- Returns:
- the artifact id of the module
-
getVersion
Description copied from interface:ArtifactCoordinatesResolver
Gets the version of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- Specified by:
getVersion
in interfaceArtifactCoordinatesResolver
- Parameters:
module
- the id of the module- Returns:
- the version of the module
-