public class VersionedObject
extends java.lang.Object
Constructor and Description |
---|
VersionedObject() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullVersion() |
java.lang.String |
getVersion() |
void |
setFullVersionOneShot(java.lang.String version,
int nbChunks)
This method sets both
version and fullVersion attributes of this object. |
public void setFullVersionOneShot(java.lang.String version, int nbChunks)
version
and fullVersion
attributes of this object.
It will set the version
as the full version truncated to the first non numeric character, leaving the first '.' character in the mix.version
- The full version number.nbChunks
- The number of chunks that should be kept for the short version.public java.lang.String getVersion()
public java.lang.String getFullVersion()