Interface LicenseDetails
- 
- All Superinterfaces:
 java.io.Serializable
- All Known Subinterfaces:
 ModuleLicense
- All Known Implementing Classes:
 LicenseDetailsImpl
public interface LicenseDetails extends java.io.SerializableRepresents the licensing details for a specific module 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDETAIL_KEY_EDITIONCommon keyname for edition detailsstatic java.lang.StringDETAIL_KEY_EXPIRATIONCommon keyname for an expiration date restrictionstatic java.lang.StringDETAIL_KEY_MIN_BUILDCommon keyname for a minimum build-number restrictionstatic java.lang.StringDETAIL_KEY_PLATFORM_BUNDLEDCommon keyname indicating that a license is bundled with driver modulesstatic java.lang.StringREDUNDANT_BACKUP 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancheckFlag(java.lang.String key)default java.util.Optional<java.util.Date>getExpirationDate()java.lang.StringgetLicenseDetail(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 listjava.lang.StringgetModuleId()Get the module id this license applies to.intgetVersion()The major version number that this license is good fordefault booleanisPlatformDetails() 
 - 
 
- 
- 
Field Detail
- 
DETAIL_KEY_EXPIRATION
static final java.lang.String DETAIL_KEY_EXPIRATION
Common keyname for an expiration date restriction- See Also:
 - Constant Field Values
 
 
- 
DETAIL_KEY_MIN_BUILD
static final java.lang.String DETAIL_KEY_MIN_BUILD
Common keyname for a minimum build-number restriction- See Also:
 - Constant Field Values
 
 
- 
DETAIL_KEY_EDITION
static final java.lang.String DETAIL_KEY_EDITION
Common keyname for edition details- See Also:
 - Constant Field Values
 
 
- 
DETAIL_KEY_PLATFORM_BUNDLED
static final java.lang.String DETAIL_KEY_PLATFORM_BUNDLED
Common keyname indicating that a license is bundled with driver modules- See Also:
 - Constant Field Values
 
 
- 
REDUNDANT_BACKUP
static final java.lang.String REDUNDANT_BACKUP
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getVersion
int getVersion()
The major version number that this license is good for 
- 
getLicenseDetail
@Nullable java.lang.String getLicenseDetail(java.lang.String key)
The value of the LicenseRestriction with the given name.- Returns:
 - null if no license restriction with name==key is found.
 
 
- 
getLicenseDetails
java.util.List<LicenseRestriction> getLicenseDetails()
Returns all of the license details as a list 
- 
getModuleId
java.lang.String getModuleId()
Get the module id this license applies to.- Returns:
 - the module id this license applies to.
 
 
- 
isPlatformDetails
default boolean isPlatformDetails()
 
- 
checkFlag
default boolean checkFlag(java.lang.String key)
 
- 
getExpirationDate
default java.util.Optional<java.util.Date> getExpirationDate()
 
 - 
 
 -