public class MultipleApplicationLicenseAdapter extends Object
This class will fail to load in any application which uses an older version of SAL. Instances should only be created using MultipleApplicationLicenseAdapterFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
MultipleApplicationLicenseAdapter.Operation |
| Constructor and Description |
|---|
MultipleApplicationLicenseAdapter(com.atlassian.sal.api.license.LicenseHandler licenseHandler,
com.atlassian.sal.api.message.LocaleResolver localeResolver) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
validateAndUpdateMultipleProductLicenses(Collection<MultipleApplicationLicenseAdapterFactory.LicenseUpdate> updates,
MultipleApplicationLicenseAdapter.Operation operation)
Create a Response for the result of updating a set of licenses.
|
MultipleApplicationLicenseResponse |
validateMultipleProductLicenses(Collection<MultipleApplicationLicenseAdapterFactory.LicenseUpdate> updates)
Validate a collection of license updates
|
public MultipleApplicationLicenseAdapter(com.atlassian.sal.api.license.LicenseHandler licenseHandler,
com.atlassian.sal.api.message.LocaleResolver localeResolver)
public javax.ws.rs.core.Response validateAndUpdateMultipleProductLicenses(Collection<MultipleApplicationLicenseAdapterFactory.LicenseUpdate> updates, MultipleApplicationLicenseAdapter.Operation operation)
updates - the updatespublic MultipleApplicationLicenseResponse validateMultipleProductLicenses(Collection<MultipleApplicationLicenseAdapterFactory.LicenseUpdate> updates)
updates - the proposed updatesCopyright © 2024 Atlassian. All rights reserved.