类 DependencyManagementArtifactCoordinatesResolver
- java.lang.Object
- org.springframework.boot.cli.compiler.dependencies.DependencyManagementArtifactCoordinatesResolver
- 所有已实现的接口:
ArtifactCoordinatesResolver
public class DependencyManagementArtifactCoordinatesResolver extends Object implements ArtifactCoordinatesResolver
构造器概要
构造器 构造器 说明 DependencyManagementArtifactCoordinatesResolver()
DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getArtifactId(String id)
Gets the artifact id of the artifact identified by the givenmodule
.String
getGroupId(String artifactId)
Gets the group id of the artifact identified by the givenmodule
.String
getVersion(String module)
Gets the version of the artifact identified by the givenmodule
.
构造器详细资料
DependencyManagementArtifactCoordinatesResolver
public DependencyManagementArtifactCoordinatesResolver()
DependencyManagementArtifactCoordinatesResolver
public DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement)
方法详细资料
getGroupId
public String getGroupId(String artifactId)
从接口复制的说明:ArtifactCoordinatesResolver
Gets the group id of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- 指定者:
getGroupId
在接口中ArtifactCoordinatesResolver
- 参数:
artifactId
- The id of the module- 返回:
- The group id of the module
getArtifactId
public String getArtifactId(String id)
从接口复制的说明:ArtifactCoordinatesResolver
Gets the artifact id of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- 指定者:
getArtifactId
在接口中ArtifactCoordinatesResolver
- 参数:
id
- The id of the module- 返回:
- The artifact id of the module
getVersion
public String getVersion(String module)
从接口复制的说明:ArtifactCoordinatesResolver
Gets the version of the artifact identified by the givenmodule
. Returnsnull
if the artifact is unknown to the resolver.- 指定者:
getVersion
在接口中ArtifactCoordinatesResolver
- 参数:
module
- The id of the module- 返回:
- The version of the module