Package com.jogamp.common.util
Class JogampVersion
- java.lang.Object
-
- com.jogamp.common.util.JogampVersion
-
- Direct Known Subclasses:
GlueGenVersion
public class JogampVersion extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Attributes.Name
IMPLEMENTATION_BRANCH
static Attributes.Name
IMPLEMENTATION_BUILD
static Attributes.Name
IMPLEMENTATION_COMMIT
static Attributes.Name
IMPLEMENTATION_SHA_CLASSES
static Attributes.Name
IMPLEMENTATION_SHA_CLASSES_THIS
static Attributes.Name
IMPLEMENTATION_SHA_NATIVES
static Attributes.Name
IMPLEMENTATION_SHA_NATIVES_THIS
static Attributes.Name
IMPLEMENTATION_SHA_SOURCES
-
Constructor Summary
Constructors Modifier Constructor Description protected
JogampVersion(String packageName, Manifest mf)
-
Method Summary
-
-
-
Field Detail
-
IMPLEMENTATION_BUILD
public static final Attributes.Name IMPLEMENTATION_BUILD
-
IMPLEMENTATION_BRANCH
public static final Attributes.Name IMPLEMENTATION_BRANCH
-
IMPLEMENTATION_COMMIT
public static final Attributes.Name IMPLEMENTATION_COMMIT
-
IMPLEMENTATION_SHA_SOURCES
public static final Attributes.Name IMPLEMENTATION_SHA_SOURCES
-
IMPLEMENTATION_SHA_CLASSES
public static final Attributes.Name IMPLEMENTATION_SHA_CLASSES
-
IMPLEMENTATION_SHA_CLASSES_THIS
public static final Attributes.Name IMPLEMENTATION_SHA_CLASSES_THIS
-
IMPLEMENTATION_SHA_NATIVES
public static final Attributes.Name IMPLEMENTATION_SHA_NATIVES
-
IMPLEMENTATION_SHA_NATIVES_THIS
public static final Attributes.Name IMPLEMENTATION_SHA_NATIVES_THIS
-
-
Method Detail
-
getManifest
public final Manifest getManifest()
-
getPackageName
public final String getPackageName()
-
getAttribute
public final String getAttribute(Attributes.Name attributeName)
-
getAttributeName
public final Attributes.Name getAttributeName(String attributeName)
-
getAttributeNames
public final Set<?> getAttributeNames()
- Returns:
- set of type
Attributes.Name
, disguised as anonymous
-
getExtensionName
public final String getExtensionName()
-
getImplementationBuild
public final String getImplementationBuild()
Returns the implementation build number, e.g.2.0-b456-20130328
.
-
getImplementationBranch
public final String getImplementationBranch()
Returns the SCM branch name
-
getImplementationCommit
public final String getImplementationCommit()
Returns the SCM version of the last commit, e.g. git's sha1
-
getImplementationSHASources
public final String getImplementationSHASources()
Returns the SHA of all concatenated source files of the whole project
-
getImplementationSHAClasses
public final String getImplementationSHAClasses()
Returns the SHA of all concatenated class files of all build classes
-
getImplementationSHAClassesThis
public final String getImplementationSHAClassesThis()
Returns the SHA of all concatenated class files of the local (jar) package subset
-
getImplementationSHANatives
public final String getImplementationSHANatives()
Returns the SHA of all concatenated native library files of all build libs
-
getImplementationSHANativesThis
public final String getImplementationSHANativesThis()
Returns the SHA of all concatenated native library files of the local (jar) package subset
-
getImplementationTitle
public final String getImplementationTitle()
-
getImplementationVendor
public final String getImplementationVendor()
-
getImplementationVendorID
public final String getImplementationVendorID()
-
getImplementationURL
public final String getImplementationURL()
-
getImplementationVersion
public final String getImplementationVersion()
Returns theIMPLEMENTATION_VERSION
.E.g.
2.0.2-rc-20130328
for snapshots prior to2.0.2
release and2.0.2
for the upcoming release.
-
getAndroidPackageVersionName
public final String getAndroidPackageVersionName()
-
getSpecificationTitle
public final String getSpecificationTitle()
-
getSpecificationVendor
public final String getSpecificationVendor()
-
getSpecificationVersion
public final String getSpecificationVersion()
-
getFullManifestInfo
public final StringBuilder getFullManifestInfo(StringBuilder sb)
-
getManifestInfo
public StringBuilder getManifestInfo(StringBuilder sb)
-
toString
public StringBuilder toString(StringBuilder sb)
-
-