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 String
getArtifactKey(String groupId, String artifactId, String type, String classifier, String version)
static String
getArtifactKey(org.apache.maven.artifact.Artifact artifact)
static String
getArtifactKey(Artifact artifact)
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.static String
getProjectKey(String groupId, String artifactId, String version)
static String
getProjectKey(org.apache.maven.project.MavenProject project)
static String
getVersionlessArtifactKey(String groupId, String artifactId, String type, String classifier)
static String
getVersionlessArtifactKey(org.apache.maven.artifact.Artifact artifact)
static String
getVersionlessProjectKey(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)
-
-