Package de.xima.fc
Class VersionsInfo
java.lang.Object
de.xima.fc.VersionsInfo
Bietet grundlegende Versionsinformationen (statisches API für direkten Zugriff und Bean-Getter)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
appName()
static String
static String
formattedVersionDate
(String lang) static String
formattedVersionDate
(Locale locale) getFormattedVersionDate
(Locale locale) static VersionsInfo
static com.vdurmont.semver4j.Semver
static String
static String
static com.vdurmont.semver4j.Semver
version()
static Date
static String
static String
static String
static String
static com.vdurmont.semver4j.Semver
-
Constructor Details
-
VersionsInfo
public VersionsInfo()
-
-
Method Details
-
getInstance
-
appName
-
versionName
-
version
public static com.vdurmont.semver4j.Semver version()- Returns:
- The current formcycle version, e.g.
8.0.0-RC.2
.
-
versionWithoutSuffixAndBuild
public static com.vdurmont.semver4j.Semver versionWithoutSuffixAndBuild()- Returns:
- The current formcycle version without suffixes and build info, e.g.
8.0.0
.
-
versionNumberWithoutSuffixAndBuild
- Returns:
- The current formcycle version without suffixes and build info, e.g.
8.0.0
.
-
versionNumber
- Returns:
- The current formcycle version, e.g.
8.0.0-RC.2
.
-
versionOrTimestamp
- Returns:
- The
versionName()
if the version isstable
, ortimestamp()
otherwise.
-
sdkVersion
public static com.vdurmont.semver4j.Semver sdkVersion() -
sdkVersionNumber
-
versionDate
-
formattedVersionDate
-
formattedVersionDate
-
formattedVersionDate
-
timestamp
-
getAppName
-
getVersionName
-
getVersionDate
-
getFormattedVersionDate
-
getFormattedVersionDate
-
getFormattedVersionDate
-
getTimestamp
-
getVersionNumber
-