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.StringgetCustomVersion()Get the custom version of the semantic version item.DategetDate()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.StringgetFormattedVersion()Get the formatted version string of the semantic version item.intgetMajorVersion()Get the major version of the semantic version item.intgetMinorVersion()Get the minor version of the semantic version item.StringgetMinProductVersion()Get the minimum Intrexx version of the semantic version item.intgetPatchVersion()Get the patch version of the semantic version item.StringgetPreReleaseVersion()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
nullif no pre-release version is defined.
-
getCustomVersion
public String getCustomVersion()
Get the custom version of the semantic version item.- Returns:
- The custom version or
nullif no custom version is defined.
-
getDate
public Date getDate()
Get the date of the semantic version item.- Returns:
- The date in UTC or
nullif no date is defined.
-
getMinProductVersion
public String getMinProductVersion()
Get the minimum Intrexx version of the semantic version item.- Returns:
- The minimum Intrexx version or
nullif 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
nullif 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-trueif the additional requirements should be html encoded,falseotherwise.- Returns:
- A map of additional requirements with the language as key and the requirements text as value or
nullif 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
nullif 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-trueif the description should be html encoded,falseotherwise.- Returns:
- A map of descriptions with the language as key and the description text as value or
nullif no descriptions are defined.
-
getFormattedVersion
public String getFormattedVersion()
Get the formatted version string of the semantic version item.- Returns:
- The formatted version.
-
-