public class LicenseManagerUtil
extends Object
Constructor and Description |
---|
LicenseManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLicense(String productId) |
static List<Map<String,String>> |
getClusterLicenseProperties(String clusterNodeId) |
static String |
getHostName() |
static Set<String> |
getIpAddresses() |
static LicenseInfo |
getLicenseInfo(String productId) |
static LicenseManager |
getLicenseManager() |
static List<Map<String,String>> |
getLicenseProperties() |
static Map<String,String> |
getLicenseProperties(String productId) |
static int |
getLicenseState(Map<String,String> licenseProperties) |
static int |
getLicenseState(String productId) |
static Set<String> |
getMacAddresses() |
static void |
registerLicense(JSONObject jsonObject) |
void |
setLicenseManager(LicenseManager licenseManager) |
public static void checkLicense(String productId)
public static List<Map<String,String>> getClusterLicenseProperties(String clusterNodeId)
public static String getHostName()
public static Set<String> getIpAddresses()
public static LicenseInfo getLicenseInfo(String productId)
public static LicenseManager getLicenseManager()
public static List<Map<String,String>> getLicenseProperties()
public static Map<String,String> getLicenseProperties(String productId)
public static int getLicenseState(Map<String,String> licenseProperties)
public static int getLicenseState(String productId)
public static Set<String> getMacAddresses()
public static void registerLicense(JSONObject jsonObject) throws Exception
Exception
public void setLicenseManager(LicenseManager licenseManager)