Package de.xima.fc
Class VersionsInfo
- java.lang.Object
-
- de.xima.fc.VersionsInfo
-
@ApplicationScoped @Named("versionsInfo") public final class VersionsInfo extends Object
Details regarding the versions of the formcycle application and its components.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description VersionsInfo()
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static VersionsInfo getInstance()
-
appName
public static String appName()
-
versionName
public static String 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
public static String versionNumberWithoutSuffixAndBuild()
- Returns:
- The current formcycle version without suffixes and build info, e.g.
8.0.0
.
-
versionNumber
public static String versionNumber()
- Returns:
- The current formcycle version, e.g.
8.0.0-RC.2
.
-
versionOrTimestamp
public static String versionOrTimestamp()
- Returns:
- The
versionName()
if the version isstable
, ortimestamp()
otherwise.
-
sdkVersion
public static com.vdurmont.semver4j.Semver sdkVersion()
-
sdkVersionNumber
public static String sdkVersionNumber()
-
versionDate
public static Date versionDate()
-
formattedVersionDate
public static String formattedVersionDate()
-
timestamp
public static String timestamp()
-
getAppName
public String getAppName()
-
getFontAwesomeVersion
public String getFontAwesomeVersion()
Gets the version of the FontAwesome library.- Returns:
- The version of the FontAwesome library.
-
getPrimeFlexVersion
public String getPrimeFlexVersion()
Gets the version of the PrimeFlex library.- Returns:
- The version of the PrimeFlex library.
-
getElFinderCdnsVersion
public String getElFinderCdnsVersion()
Gets the version of the elFinder CDN resources.- Returns:
- The version of the elFinder CDN resources.
-
getElFinderThemesVersion
public String getElFinderThemesVersion()
Gets the version of the elFinder themes.- Returns:
- The version of the elFinder themes.
-
getElFinderVersion
public String getElFinderVersion()
Gets the version of the elFinder library.- Returns:
- The version of the elFinder library.
-
getVersionName
public String getVersionName()
-
getVersionDate
public Date getVersionDate()
-
getFormattedVersionDate
public String getFormattedVersionDate()
-
getTimestamp
public String getTimestamp()
-
getVersionNumber
public String getVersionNumber()
-
-