Package de.xima.fc.license
Interface ILicenseAccess
-
- All Known Implementing Classes:
LicenseAccess
public interface ILicenseAccess
Interface for license access. A license access is an object that can be used to check if a license has certain features.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Boolean>
hasFeature(ELicenseFeature feature)
Checks if the license has the given license feature and returns the value of the feature if it is set.
-
-
-
Method Detail
-
hasFeature
Optional<Boolean> hasFeature(ELicenseFeature feature)
Checks if the license has the given license feature and returns the value of the feature if it is set.- Parameters:
feature
- The feature to check.- Returns:
- The value of the feature if it is set,
Optional.empty()
otherwise.
-
-