@ParametersAreNonnullByDefault public class LicenseMismatchDetectorImpl extends Object implements LicenseMismatchDetector
| Constructor and Description |
|---|
LicenseMismatchDetectorImpl(com.atlassian.sal.api.license.LicenseHandler licenseHandler,
com.atlassian.upm.api.license.DataCenterCrossgradeablePlugins dataCenterCrossgradeablePlugins) |
| Modifier and Type | Method and Description |
|---|---|
Optional<LicenseMismatch> |
detectLicenseMismatch(Map<String,MultipleApplicationLicenseResponse.LicenseResult> errors,
String newLicenseString,
String newLicenseApplicationKey)
If the validation errors are caused by a license mismatch (some DC, some Server) this populates a LicenseMismatch
instance to allow the front end to explain the situation to the customer and help them fix it.
|
public static final String JIRA_CORE
public LicenseMismatchDetectorImpl(com.atlassian.sal.api.license.LicenseHandler licenseHandler,
com.atlassian.upm.api.license.DataCenterCrossgradeablePlugins dataCenterCrossgradeablePlugins)
public Optional<LicenseMismatch> detectLicenseMismatch(Map<String,MultipleApplicationLicenseResponse.LicenseResult> errors, String newLicenseString, String newLicenseApplicationKey)
LicenseMismatchDetectordetectLicenseMismatch in interface LicenseMismatchDetectorerrors - result of validating the new licensenewLicenseString - the raw license stringnewLicenseApplicationKey - the application the new license is forCopyright © 2024 Atlassian. All rights reserved.