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 SummaryFields 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 SummaryAll 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_EXPIRATIONstatic final java.lang.String DETAIL_KEY_EXPIRATION Common keyname for an expiration date restriction- See Also:
- Constant Field Values
 
 - 
DETAIL_KEY_MIN_BUILDstatic final java.lang.String DETAIL_KEY_MIN_BUILD Common keyname for a minimum build-number restriction- See Also:
- Constant Field Values
 
 - 
DETAIL_KEY_EDITIONstatic final java.lang.String DETAIL_KEY_EDITION Common keyname for edition details- See Also:
- Constant Field Values
 
 - 
DETAIL_KEY_PLATFORM_BUNDLEDstatic 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_BACKUPstatic final java.lang.String REDUNDANT_BACKUP - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getVersionint 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.
 
 - 
getLicenseDetailsjava.util.List<LicenseRestriction> getLicenseDetails() Returns all of the license details as a list
 - 
getModuleIdjava.lang.String getModuleId() Get the module id this license applies to.- Returns:
- the module id this license applies to.
 
 - 
isPlatformDetailsdefault boolean isPlatformDetails() 
 - 
checkFlagdefault boolean checkFlag(java.lang.String key) 
 - 
getExpirationDatedefault java.util.Optional<java.util.Date> getExpirationDate() 
 
- 
 
-