public interface LicenseManager
Modifier and Type | Field and Description |
---|---|
static int |
STATE_ABSENT |
static int |
STATE_EXPIRED |
static int |
STATE_GOOD |
static int |
STATE_INACTIVE |
static int |
STATE_INVALID |
static int |
STATE_OVERLOAD |
Modifier and Type | Method and Description |
---|---|
void |
checkLicense(String productId) |
List<Map<String,String>> |
getClusterLicenseProperties(String clusterNodeId) |
String |
getHostName() |
Set<String> |
getIpAddresses() |
LicenseInfo |
getLicenseInfo(String productId) |
List<Map<String,String>> |
getLicenseProperties() |
Map<String,String> |
getLicenseProperties(String productId) |
int |
getLicenseState(Map<String,String> licenseProperties) |
int |
getLicenseState(String productId) |
Set<String> |
getMacAddresses() |
void |
registerLicense(JSONObject jsonObject) |
static final int STATE_ABSENT
static final int STATE_EXPIRED
static final int STATE_GOOD
static final int STATE_INACTIVE
static final int STATE_INVALID
static final int STATE_OVERLOAD
void checkLicense(String productId)
List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
String getHostName()
Set<String> getIpAddresses()
LicenseInfo getLicenseInfo(String productId)
List<Map<String,String>> getLicenseProperties()
Map<String,String> getLicenseProperties(String productId)
int getLicenseState(Map<String,String> licenseProperties)
int getLicenseState(String productId)
Set<String> getMacAddresses()
void registerLicense(JSONObject jsonObject) throws Exception
Exception