public class LicenseManagerUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_ABSENT
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_ABSENT |
static int |
STATE_EXPIRED
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_EXPIRED |
static int |
STATE_GOOD
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_GOOD |
static int |
STATE_INACTIVE
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_INACTIVE |
static int |
STATE_INVALID
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_INVALID |
static int |
STATE_OVERLOAD
Deprecated.
As of 6.2.0, replaced by
LicenseManager.STATE_OVERLOAD |
| Constructor and Description |
|---|
LicenseManagerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkLicense(java.lang.String productId) |
static java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getClusterLicenseProperties(java.lang.String clusterNodeId) |
static java.lang.String |
getHostName() |
static java.util.Set<java.lang.String> |
getIpAddresses() |
static LicenseInfo |
getLicenseInfo(java.lang.String productId) |
static LicenseManager |
getLicenseManager() |
static java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getLicenseProperties() |
static java.util.Map<java.lang.String,java.lang.String> |
getLicenseProperties(java.lang.String productId) |
static int |
getLicenseState(java.util.Map<java.lang.String,java.lang.String> licenseProperties) |
static int |
getLicenseState(java.lang.String productId) |
static java.util.Set<java.lang.String> |
getMacAddresses() |
static void |
registerLicense(JSONObject jsonObject) |
void |
setLicenseManager(LicenseManager licenseManager) |
@Deprecated public static final int STATE_ABSENT
LicenseManager.STATE_ABSENT@Deprecated public static final int STATE_EXPIRED
LicenseManager.STATE_EXPIRED@Deprecated public static final int STATE_GOOD
LicenseManager.STATE_GOOD@Deprecated public static final int STATE_INACTIVE
LicenseManager.STATE_INACTIVE@Deprecated public static final int STATE_INVALID
LicenseManager.STATE_INVALID@Deprecated public static final int STATE_OVERLOAD
LicenseManager.STATE_OVERLOADpublic static void checkLicense(java.lang.String productId)
public static java.util.List<java.util.Map<java.lang.String,java.lang.String>> getClusterLicenseProperties(java.lang.String clusterNodeId)
public static java.lang.String getHostName()
public static java.util.Set<java.lang.String> getIpAddresses()
public static LicenseInfo getLicenseInfo(java.lang.String productId)
public static LicenseManager getLicenseManager()
public static java.util.List<java.util.Map<java.lang.String,java.lang.String>> getLicenseProperties()
public static java.util.Map<java.lang.String,java.lang.String> getLicenseProperties(java.lang.String productId)
public static int getLicenseState(java.util.Map<java.lang.String,java.lang.String> licenseProperties)
public static int getLicenseState(java.lang.String productId)
public static java.util.Set<java.lang.String> getMacAddresses()
public static void registerLicense(JSONObject jsonObject) throws java.lang.Exception
java.lang.Exceptionpublic void setLicenseManager(LicenseManager licenseManager)