Package org.eclipse.tycho.p2.repository
Class MavenRepositoryCoordinates
- java.lang.Object
-
- org.eclipse.tycho.p2.repository.MavenRepositoryCoordinates
-
public final class MavenRepositoryCoordinates extends Object
Coordinates (groupId, artifactId, version, classifier, extension) of an artifact in the local Maven repository.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_EXTENSION
-
Constructor Summary
Constructors Constructor Description MavenRepositoryCoordinates(String groupId, String artifactId, String version, String classifier, String extension)MavenRepositoryCoordinates(GAV gav, String classifier, String extension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetArtifactId()StringgetClassifier()StringgetExtension()The artifact file extension, ornullfor the default extensionjar.StringgetExtensionOrDefault()GAVgetGav()StringgetGroupId()StringgetLocalRepositoryPath()Returns the local Maven repository path corresponding to the these coordinates.StringgetVersion()Returns the (symbolic) artifact version, i.e.inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT_EXTENSION
public static final String DEFAULT_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGav
public GAV getGav()
-
getGroupId
public String getGroupId()
-
getArtifactId
public String getArtifactId()
-
getVersion
public String getVersion()
Returns the (symbolic) artifact version, i.e. without any "SNAPSHOT" expansion.
-
getClassifier
public String getClassifier()
-
getExtension
public String getExtension()
The artifact file extension, ornullfor the default extensionjar.
-
getExtensionOrDefault
public String getExtensionOrDefault()
-
getLocalRepositoryPath
public String getLocalRepositoryPath()
Returns the local Maven repository path corresponding to the these coordinates.
-
-