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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancompareTo(byte[] v) static StringdecodeVersion(short version) static StringdecodeVersionForSerialization(short version) Serialization only looks at major and minor, not micro or below.static Versionfrom(InputStream is) static Stringstatic Stringstatic Stringstatic StringgetMajor()static Stringstatic shortstatic StringgetMinor()static Stringstatic StringgetProperty(String name) static Stringstatic Stringstatic shortstatic shortgetVersionShort(String versionString) static voidPrints version information.static voidPrints full version information to the standard output.static StringReturns version information as a string.version()
-
Field Details
-
INFINISPAN_VERSION
- See Also:
-
INFINISPAN_BRAND_NAME
- See Also:
-
INFINISPAN_BRAND_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
-
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.
-