Package org.gridgain.internal.license
Class NoOpLicenseFeatureChecker
java.lang.Object
org.gridgain.internal.license.NoOpLicenseFeatureChecker
- All Implemented Interfaces:
LicenseFeatureChecker
Implementation of a
LicenseFeatureChecker that doesn't do anything.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAllFeature(Set<LicenseFeature> features) Check all the given features are available in the license.voidcheckAnyFeature(Set<LicenseFeature> features) Check any the given features are available in the license.voidcheckFeature(LicenseFeature feature) Check the given feature is available in the license.Returns features set that is available in the license.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoOpLicenseFeatureChecker
public NoOpLicenseFeatureChecker()
-
-
Method Details
-
enabledFeatures
Description copied from interface:LicenseFeatureCheckerReturns features set that is available in the license.- Specified by:
enabledFeaturesin interfaceLicenseFeatureChecker- Returns:
- enabled features set
-
checkFeature
Description copied from interface:LicenseFeatureCheckerCheck the given feature is available in the license.- Specified by:
checkFeaturein interfaceLicenseFeatureChecker- Parameters:
feature- Feature to check.- Throws:
MissingRequiredFeaturesException- If feature is not allowed by the license.
-
checkAllFeature
Description copied from interface:LicenseFeatureCheckerCheck all the given features are available in the license.- Specified by:
checkAllFeaturein interfaceLicenseFeatureChecker- Parameters:
features- Set of features to check.- Throws:
MissingRequiredFeaturesException- If one of the features is not available.
-
checkAnyFeature
Description copied from interface:LicenseFeatureCheckerCheck any the given features are available in the license.- Specified by:
checkAnyFeaturein interfaceLicenseFeatureChecker- Parameters:
features- Set of features to check.- Throws:
MissingRequiredFeaturesException- If all features are not available.
-