Package org.infinispan.commons.util
Class Version
java.lang.Object
org.infinispan.commons.util.Version
Contains version information about this release of Infinispan.
- Since:
- 4.0
- Author:
- Bela Ban
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compareTo
(byte[] v) static String
decodeVersion
(short version) static String
decodeVersionForSerialization
(short version) Serialization only looks at major and minor, not micro or below.static Version
from
(InputStream is) static String
static String
static String
static String
getMajor()
static String
static short
static String
getMinor()
static String
static String
getProperty
(String name) static String
static String
static String
static short
static short
getVersionShort
(String versionString) static void
Prints version information.static void
Prints full version information to the standard output.static String
Returns version information as a string.version()
-
Field Details
-
INFINISPAN_VERSION
- See Also:
-
INFINISPAN_BRAND_NAME
- See Also:
-
INFINISPAN_BRAND_VERSION
- See Also:
-
INFINISPAN_UNBRANDED_VERSION
- See Also:
-
INFINISPAN_CODENAME
- See Also:
-
INFINISPAN_CORE_SCHEMA_VERSION
- See Also:
-
INFINISPAN_MODULE_SLOT_PREFIX
- See Also:
-
INFINISPAN_MODULE_SLOT_VERSION
- See Also:
-
-
Method Details
-
from
-
version
-
brandName
-
brandVersion
-
getVersion
-
getBrandName
-
getBrandVersion
-
getCodename
-
getModuleSlot
-
getMarshallVersion
public static short getMarshallVersion() -
getSchemaVersion
-
getMajorMinor
-
getMajor
-
getMinor
-
compareTo
public static boolean compareTo(byte[] v) -
getVersionShort
public static short getVersionShort() -
getVersionShort
-
getUnbrandedVersion
-
decodeVersion
-
decodeVersionForSerialization
Serialization only looks at major and minor, not micro or below. -
getProperty
-
main
Prints version information. -
printFullVersionInformation
public static void printFullVersionInformation()Prints full version information to the standard output. -
printVersion
Returns version information as a string.
-