public class ManagedDependenciesArtifactCoordinatesResolver extends Object implements ArtifactCoordinatesResolver
ArtifactCoordinatesResolver backed by Dependencies.| Constructor and Description |
|---|
ManagedDependenciesArtifactCoordinatesResolver() |
ManagedDependenciesArtifactCoordinatesResolver(ManagedDependencies dependencies) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId(String artifactId)
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 artifactId)
Gets the version of the artifact identified by the given
module. |
public ManagedDependenciesArtifactCoordinatesResolver()
public ManagedDependenciesArtifactCoordinatesResolver(ManagedDependencies dependencies)
public String getGroupId(String artifactId)
ArtifactCoordinatesResolvermodule. Returns
null if the artifact is unknown to the resolver.getGroupId in interface ArtifactCoordinatesResolverartifactId - The id of the modulepublic String getVersion(String artifactId)
ArtifactCoordinatesResolvermodule. Returns
null if the artifact is unknown to the resolver.getVersion in interface ArtifactCoordinatesResolverartifactId - The id of the modulepublic String getArtifactId(String artifactId)
ArtifactCoordinatesResolvermodule.
Returns null if the artifact is unknown to the resolver.getArtifactId in interface ArtifactCoordinatesResolverartifactId - The id of the moduleCopyright © 2015 Pivotal Software, Inc.. All rights reserved.