public class GridProductImpl extends Object implements GridProduct
GridProduct implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
ACK_VER
Compound version.
|
static long |
BUILD_TSTAMP
Build timestamp in seconds.
|
static String |
BUILD_TSTAMP_STR
Formatted build date.
|
static String |
COMPOUND_VER
Compound version.
|
static String |
COPYRIGHT
Copyright blurb.
|
static boolean |
ENT
Enterprise edition flag.
|
static String |
RELEASE_DATE
Release date.
|
static String |
REV_HASH
Revision hash.
|
static String |
VER
GridGain version.
|
static byte[] |
VER_BYTES
GridGain version as numeric array (generated from
VER). |
| Constructor and Description |
|---|
GridProductImpl(GridKernalContext ctx,
org.gridgain.grid.kernal.GridUpdateNotifier verChecker) |
| Modifier and Type | Method and Description |
|---|---|
String |
copyright()
Copyright statement for GridGain code.
|
String |
latestVersion()
Gets latest version available for download or
null if information is not available. |
GridProductLicense |
license()
Gets license descriptor for enterprise edition or
null for open source edition. |
void |
updateLicense(String lic)
Updates to a new license in enterprise edition.
|
GridProductVersion |
version()
Gets product version for this release.
|
public static final String COPYRIGHT
public static final boolean ENT
public static final String VER
public static final long BUILD_TSTAMP
public static final String BUILD_TSTAMP_STR
public static final String REV_HASH
public static final String RELEASE_DATE
public static final byte[] VER_BYTES
VER).public static final String COMPOUND_VER
public static final String ACK_VER
public GridProductImpl(GridKernalContext ctx, org.gridgain.grid.kernal.GridUpdateNotifier verChecker)
ctx - Kernal context.verChecker - Update notifier.@Nullable public GridProductLicense license()
null for open source edition.license in interface GridProductpublic void updateLicense(String lic) throws GridProductLicenseException
updateLicense in interface GridProductlic - The content of the license.GridProductLicenseException - If license could not be updated.public GridProductVersion version()
version in interface GridProductpublic String copyright()
copyright in interface GridProduct@Nullable public String latestVersion()
null if information is not available.latestVersion in interface GridProductnull if information is not available.Copyright © 2014. All rights reserved.