@Immutable public class Version extends Object
Modifier and Type | Field and Description |
---|---|
static String |
INFINISPAN_BRAND_NAME |
static String |
INFINISPAN_BRAND_VERSION |
static String |
INFINISPAN_CODENAME |
static String |
INFINISPAN_CORE_SCHEMA_VERSION |
static String |
INFINISPAN_MODULE_SLOT_PREFIX |
static String |
INFINISPAN_MODULE_SLOT_VERSION |
static String |
INFINISPAN_VERSION |
Modifier and Type | Method and Description |
---|---|
String |
brandName() |
String |
brandVersion() |
static 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 |
getBrandName() |
static String |
getBrandVersion() |
static String |
getCodename() |
static String |
getMajor() |
static String |
getMajorMinor() |
static short |
getMarshallVersion() |
static String |
getMinor() |
static String |
getModuleSlot() |
static String |
getSchemaVersion() |
static String |
getVersion() |
static short |
getVersionShort() |
static short |
getVersionShort(String versionString) |
static void |
main(String[] args)
Prints version information.
|
static void |
printFullVersionInformation()
Prints full version information to the standard output.
|
static String |
printVersion()
Returns version information as a string.
|
String |
version() |
public static final String INFINISPAN_VERSION
public static final String INFINISPAN_BRAND_NAME
public static final String INFINISPAN_BRAND_VERSION
public static final String INFINISPAN_CODENAME
public static final String INFINISPAN_CORE_SCHEMA_VERSION
public static final String INFINISPAN_MODULE_SLOT_PREFIX
public static final String INFINISPAN_MODULE_SLOT_VERSION
public static Version from(InputStream is)
public String version()
public String brandName()
public String brandVersion()
public static String getVersion()
public static String getBrandName()
public static String getBrandVersion()
public static String getCodename()
public static String getModuleSlot()
public static short getMarshallVersion()
public static String getSchemaVersion()
public static String getMajorMinor()
public static String getMajor()
public static String getMinor()
public static boolean compareTo(byte[] v)
public static short getVersionShort()
public static short getVersionShort(String versionString)
public static String decodeVersion(short version)
public static String decodeVersionForSerialization(short version)
public static void main(String[] args)
public static void printFullVersionInformation()
public static String printVersion()
Copyright © 2021 JBoss by Red Hat. All rights reserved.