public class DependencyManagementArtifactCoordinatesResolver extends Object implements ArtifactCoordinatesResolver
Constructor and Description |
---|
DependencyManagementArtifactCoordinatesResolver() |
DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId(String id)
Gets the artifact id of the artifact identified by the given
module . |
String |
getGroupId(String artifactId)
Gets the group id of the artifact identified by the given
module . |
String |
getVersion(String module)
Gets the version of the artifact identified by the given
module . |
public DependencyManagementArtifactCoordinatesResolver()
public DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement)
public String getGroupId(String artifactId)
ArtifactCoordinatesResolver
module
. Returns
null
if the artifact is unknown to the resolver.getGroupId
in interface ArtifactCoordinatesResolver
artifactId
- The id of the modulepublic String getArtifactId(String id)
ArtifactCoordinatesResolver
module
.
Returns null
if the artifact is unknown to the resolver.getArtifactId
in interface ArtifactCoordinatesResolver
id
- The id of the modulepublic String getVersion(String module)
ArtifactCoordinatesResolver
module
. Returns
null
if the artifact is unknown to the resolver.getVersion
in interface ArtifactCoordinatesResolver
module
- The id of the moduleCopyright © 2017 Pivotal Software, Inc.. All rights reserved.