Class AbstractDependencyResolver.MavenCoordinates
java.lang.Object
org.apache.jackrabbit.vault.validation.context.AbstractDependencyResolver.MavenCoordinates
- Enclosing class:
- AbstractDependencyResolver
Encapsulates Maven coordinates groupId, artifactId, version, packaging (default
zip), classifier (optional)-
Constructor Summary
ConstructorsConstructorDescriptionMavenCoordinates(@NotNull String groupId, @NotNull String artifactId, @NotNull String version) MavenCoordinates(@NotNull String groupId, @NotNull String artifactId, @NotNull String version, @NotNull String packaging, String classifier) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull String@Nullable String@NotNull String@NotNull String@Nullable StringinthashCode()static @Nullable AbstractDependencyResolver.MavenCoordinatesParses a Maven URI of the formatmaven:<groupId>:<artifactId>:<version>[:<packaging>[:<classifier]]and returns the extracted Maven coordinates.toString()
-
Constructor Details
-
MavenCoordinates
-
MavenCoordinates
-
-
Method Details
-
parse
Parses a Maven URI of the formatmaven:<groupId>:<artifactId>:<version>[:<packaging>[:<classifier]]and returns the extracted Maven coordinates.- Parameters:
uri-- Returns:
- the Maven coordinates or
nullif the URI is not a Maven URI
-
getGroupId
-
getArtifactId
-
getVersion
-
getPackaging
-
getClassifier
-
toString
-
hashCode
public int hashCode() -
equals
-