Package com.arcadedb
Class Constants
- java.lang.Object
-
- com.arcadedb.Constants
-
public class Constants extends Object
-
-
Constructor Summary
Constructors Constructor Description Constants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getBranch()
static String
getBuildNumber()
static String
getRawVersion()
static String
getTimestamp()
static String
getVersion()
static int
getVersionHotfix()
static int
getVersionMajor()
static int
getVersionMinor()
static boolean
isSnapshot()
-
-
-
Field Detail
-
PRODUCT
public static final String PRODUCT
- See Also:
- Constant Field Values
-
URL
public static final String URL
- See Also:
- Constant Field Values
-
COPYRIGHT
public static final String COPYRIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersionMajor
public static int getVersionMajor()
- Returns:
- Major part of Arcadedb version
-
getVersionMinor
public static int getVersionMinor()
- Returns:
- Minor part of Arcadedb version
-
getVersionHotfix
public static int getVersionHotfix()
- Returns:
- Hotfix part of Arcadedb version
-
getVersion
public static String getVersion()
- Returns:
- the complete text of the current Arcadedb version.
-
getRawVersion
public static String getRawVersion()
- Returns:
- Returns only current version without build number and etc.
-
getBranch
public static String getBranch()
- Returns:
- the Git branch of the build.
-
getBuildNumber
public static String getBuildNumber()
- Returns:
- the build number if any.
-
getTimestamp
public static String getTimestamp()
- Returns:
- the build number if any.
-
isSnapshot
public static boolean isSnapshot()
- Returns:
- true if current Arcadedb version is a snapshot.
-
-