Package dev.equo.solstice.p2
Class P2Unit
java.lang.Object
dev.equo.solstice.p2.P2Unit
- All Implemented Interfaces:
Comparable<P2Unit>
Usually represents a jar file in a p2 repository, but could also be a "feature" or "group".
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is a synthetic property that we create ourselves.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
-
Field Details
-
MAVEN_GROUP_ID
- See Also:
-
MAVEN_ARTIFACT_ID
- See Also:
-
MAVEN_VERSION
- See Also:
-
MAVEN_REPOSITORY
- See Also:
-
MAVEN_TYPE
- See Also:
-
P2_NAME
- See Also:
-
P2_DESC
- See Also:
-
P2_TYPE_CATEGORY
- See Also:
-
P2_TYPE_FEATURE
- See Also:
-
ARTIFACT_CLASSIFIER
This is a synthetic property that we create ourselves.- See Also:
-
ARTIFACT_CLASSIFIER_BUNDLE
- See Also:
-
ARTIFACT_CLASSIFIER_FEATURE
- See Also:
-
ARTIFACT_CLASSIFIER_BINARY
- See Also:
-
-
Method Details
-
toString
-
compareTo
Sorted alphabetically based on id, and then based on version with greater versions first.- Specified by:
compareToin interfaceComparable<P2Unit>
-
getId
-
getVersion
public org.osgi.framework.Version getVersion() -
getRawXml
- Throws:
TransformerException
-
getRepoUrl
-
getRepoUrlLastSegment
-
getJarUrl
-