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 Details

    • DependencyManagementArtifactCoordinatesResolver

      public DependencyManagementArtifactCoordinatesResolver()
    • DependencyManagementArtifactCoordinatesResolver

      public DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement)
  • Method Details

    • getGroupId

      public String getGroupId(String artifactId)
      Description copied from interface: ArtifactCoordinatesResolver
      Gets the group id of the artifact identified by the given module. Returns null if the artifact is unknown to the resolver.
      Specified by:
      getGroupId in interface ArtifactCoordinatesResolver
      Parameters:
      artifactId - the id of the module
      Returns:
      the group id of the module
    • getArtifactId

      public String getArtifactId(String id)
      Description copied from interface: ArtifactCoordinatesResolver
      Gets the artifact id of the artifact identified by the given module. Returns null if the artifact is unknown to the resolver.
      Specified by:
      getArtifactId in interface ArtifactCoordinatesResolver
      Parameters:
      id - the id of the module
      Returns:
      the artifact id of the module
    • getVersion

      public String getVersion(String module)
      Description copied from interface: ArtifactCoordinatesResolver
      Gets the version of the artifact identified by the given module. Returns null if the artifact is unknown to the resolver.
      Specified by:
      getVersion in interface ArtifactCoordinatesResolver
      Parameters:
      module - the id of the module
      Returns:
      the version of the module