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)
LicenseDetails
getLicenseDetail
in interface LicenseDetails
public java.util.List<LicenseRestriction> getLicenseDetails()
LicenseDetails
getLicenseDetails
in interface LicenseDetails
public int getVersion()
LicenseDetails
getVersion
in interface LicenseDetails
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object