public class LicenseDetailsImpl extends java.lang.Object implements LicenseDetails
DETAIL_KEY_EDITION, DETAIL_KEY_EXPIRATION, DETAIL_KEY_MIN_BUILD, REDUNDANT_BACKUP| Constructor and Description |
|---|
LicenseDetailsImpl(int version,
java.util.List<LicenseRestriction> restrictions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLicenseDetail(java.lang.String key)
The value of the LicenseRestriction with the given name.
|
java.util.List<LicenseRestriction> |
getLicenseDetails()
Returns all of the license details as a list
|
int |
getVersion()
The major version number that this license is good for
|
public LicenseDetailsImpl(int version,
java.util.List<LicenseRestriction> restrictions)
public java.lang.String getLicenseDetail(java.lang.String key)
LicenseDetailsgetLicenseDetail in interface LicenseDetailspublic java.util.List<LicenseRestriction> getLicenseDetails()
LicenseDetailsgetLicenseDetails in interface LicenseDetailspublic int getVersion()
LicenseDetailsgetVersion in interface LicenseDetailspublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object