public class Version
extends java.lang.Object
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equalVersion(int major,
int minor)
Checks if current Atmosphere framework version equals to one passed
|
static java.lang.String |
getDotedVersion()
Return the dotted version of the curent release.
|
static int |
getMajorVersion()
Get Atmosphere framework major version
|
static int |
getMicroVersion()
Return the micro version
|
static int |
getMinorVersion()
Get Atmosphere framework minor version
|
static java.lang.String |
getRawVersion()
Return the raw version derived frok the project's pom.xml
|
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
public static java.lang.String getRawVersion()
public static java.lang.String getDotedVersion()
public static int getMajorVersion()
public static int getMinorVersion()
public static int getMicroVersion()
public static boolean equalVersion(int major, int minor)
major
- Atmosphere framework major versionminor
- Atmosphere framework minor versionCopyright © 2018. All Rights Reserved.