@ -25,18 +25,26 @@ package org.springframework.boot.cli.compiler.dependencies;
@@ -25,18 +25,26 @@ package org.springframework.boot.cli.compiler.dependencies;
public interface ArtifactCoordinatesResolver {
/ * *
* Gets the group id of the artifact identified by the given { @code artifactId } .
* Returns { @code null } if the artifact is unknown to the resolver .
* @param artifactId The id of the artifact
* @return The group id of the artifact
* Gets the group id of the artifact identified by the given { @code module } . Returns
* { @code null } if the artifact is unknown to the resolver .
* @param module The id of the module
* @return The group id of the module
* /
String getGroupId ( String artifactId ) ;
String getGroupId ( String module ) ;
/ * *
* Gets the version of the artifact identified by the given { @code artifactId } .
* Gets the artifact id of the artifact identified by the given { @code module } .
* Returns { @code null } if the artifact is unknown to the resolver .
* @param artifactId The id of the artifact
* @return The version of the artifact
* @param module The id of the module
* @return The group id of the module
* /
String getArtifactId ( String module ) ;
/ * *
* Gets the version of the artifact identified by the given { @code module } . Returns
* { @code null } if the artifact is unknown to the resolver .
* @param module The id of the module
* @return The version of the module
* /
String getVersion ( String artifactId ) ;
String getVersion ( String module ) ;
}