Class VCVersionItem
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.versionmanager.VCVersionItem
-
public final class VCVersionItem extends Object
Semantic version item.
-
-
Constructor Summary
Constructors Constructor Description VCVersionItem(de.uplanet.lucy.versionmanager.VersionItem p_versionItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAdditionalRequirements()
Get the additional requirements of the semantic version item as text.Map<String,String>
getAdditionalRequirements(boolean p_bHtmlEncode)
Get the additional requirements of the semantic version as text, optionally html encoded.String
getCustomVersion()
Get the custom version of the semantic version item.Date
getDate()
Get the date of the semantic version item.Map<String,String>
getDescriptions()
Get the descriptions of the semantic version item as text.Map<String,String>
getDescriptions(boolean p_bHtmlEncode)
Get the descriptions of the semantic version item as text, optionally html encoded.String
getFormattedVersion()
Get the formatted version string of the semantic version item.int
getMajorVersion()
Get the major version of the semantic version item.int
getMinorVersion()
Get the minor version of the semantic version item.String
getMinProductVersion()
Get the minimum Intrexx version of the semantic version item.int
getPatchVersion()
Get the patch version of the semantic version item.String
getPreReleaseVersion()
Get the pre-release version of the semantic version item.
-
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion()
Get the major version of the semantic version item.- Returns:
- The major version.
-
getMinorVersion
public int getMinorVersion()
Get the minor version of the semantic version item.- Returns:
- The minor version.
-
getPatchVersion
public int getPatchVersion()
Get the patch version of the semantic version item.- Returns:
- The patch version.
-
getPreReleaseVersion
public String getPreReleaseVersion()
Get the pre-release version of the semantic version item.- Returns:
- The pre-release version or
null
if no pre-release version is defined.
-
getCustomVersion
public String getCustomVersion()
Get the custom version of the semantic version item.- Returns:
- The custom version or
null
if no custom version is defined.
-
getDate
public Date getDate()
Get the date of the semantic version item.- Returns:
- The date in UTC or
null
if no date is defined.
-
getMinProductVersion
public String getMinProductVersion()
Get the minimum Intrexx version of the semantic version item.- Returns:
- The minimum Intrexx version or
null
if no minimum Intrexx version is defined.
-
getAdditionalRequirements
public Map<String,String> getAdditionalRequirements()
Get the additional requirements of the semantic version item as text.- Returns:
- A map of additional requirements with the language as key and the requirements text as value or
null
if no additional requirements are defined.
-
getAdditionalRequirements
public Map<String,String> getAdditionalRequirements(boolean p_bHtmlEncode)
Get the additional requirements of the semantic version as text, optionally html encoded.- Parameters:
p_bHtmlEncode
-true
if the additional requirements should be html encoded,
false
otherwise.
- Returns:
- A map of additional requirements with the language as key and the requirements text as value or
null
if no additional requirements are defined.
-
getDescriptions
public Map<String,String> getDescriptions()
Get the descriptions of the semantic version item as text.- Returns:
- A map of descriptions with the language as key and the description text as value or
null
if no descriptions are defined.
-
getDescriptions
public Map<String,String> getDescriptions(boolean p_bHtmlEncode)
Get the descriptions of the semantic version item as text, optionally html encoded.- Parameters:
p_bHtmlEncode
-true
if the description should be html encoded,
false
otherwise.
- Returns:
- A map of descriptions with the language as key and the description text as value or
null
if no descriptions are defined.
-
getFormattedVersion
public String getFormattedVersion()
Get the formatted version string of the semantic version item.- Returns:
- The formatted version.
-
-