public abstract class AtLeastOneValidatorSucceedsLicenseValidator extends Object implements org.mule.runtime.module.license.api.LicenseValidator
LicenseValidator
implementations to be used in sequence to validate a plugin license. If one validator succeeds, the license is considered
valid. If all validators fail, an exception is thrown with a detailed message containing all the exceptions from each
validator.| Constructor and Description |
|---|
AtLeastOneValidatorSucceedsLicenseValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validatePluginLicense(org.mule.runtime.module.license.api.PluginLicenseValidationRequest pluginLicenseValidationRequest)
Validates the plugin license using a list of license validators.
|
public AtLeastOneValidatorSucceedsLicenseValidator()
public void validatePluginLicense(org.mule.runtime.module.license.api.PluginLicenseValidationRequest pluginLicenseValidationRequest)
validatePluginLicense in interface org.mule.runtime.module.license.api.LicenseValidatorpluginLicenseValidationRequest - the request object containing license validation detailsorg.mule.runtime.module.license.api.exception.InvalidLicenseException - if all validators fail to validate the licenseValidationException - if no validators are foundCopyright © 2006–2025 MuleSoft, Inc.. All rights reserved.