Class KeyUtils
- java.lang.Object
-
- org.apache.maven.buildcache.checksum.KeyUtils
-
public class KeyUtils extends Object
KeyUtils
-
-
Constructor Summary
Constructors Constructor Description KeyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetArtifactKey(String groupId, String artifactId, String type, String classifier, String version)static StringgetArtifactKey(org.apache.maven.artifact.Artifact artifact)static StringgetArtifactKey(Artifact artifact)static StringgetArtifactKey(Artifact artifact, String type)Computes the key for the given artifact, using the given type instead of the one defined in the artifact.static StringgetProjectKey(String groupId, String artifactId, String version)static StringgetProjectKey(org.apache.maven.project.MavenProject project)static StringgetVersionlessArtifactKey(String groupId, String artifactId, String type, String classifier)static StringgetVersionlessArtifactKey(org.apache.maven.artifact.Artifact artifact)static StringgetVersionlessProjectKey(org.apache.maven.project.MavenProject project)
-
-
-
Method Detail
-
getProjectKey
public static String getProjectKey(org.apache.maven.project.MavenProject project)
-
getProjectKey
public static String getProjectKey(String groupId, String artifactId, String version)
-
getVersionlessProjectKey
public static String getVersionlessProjectKey(org.apache.maven.project.MavenProject project)
-
getVersionlessArtifactKey
public static String getVersionlessArtifactKey(org.apache.maven.artifact.Artifact artifact)
-
getArtifactKey
public static String getArtifactKey(Artifact artifact, String type)
Computes the key for the given artifact, using the given type instead of the one defined in the artifact.
-
getArtifactKey
public static String getArtifactKey(org.apache.maven.artifact.Artifact artifact)
-
getArtifactKey
public static String getArtifactKey(String groupId, String artifactId, String type, String classifier, String version)
-
-