Class KeyUtils
java.lang.Object
org.apache.maven.buildcache.checksum.KeyUtils
KeyUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic 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)
-
Constructor Details
-
KeyUtils
public KeyUtils()
-
-
Method Details
-
getProjectKey
-
getProjectKey
-
getVersionlessProjectKey
-
getArtifactKey
-
getVersionlessArtifactKey
-
getArtifactKey
Computes the key for the given artifact, using the given type instead of the one defined in the artifact. -
getArtifactKey
-
getArtifactKey
-
getVersionlessArtifactKey
-