public class LicenseDetailsFactoryImpl extends Object implements LicenseDetailsFactory
| Constructor and Description |
|---|
LicenseDetailsFactoryImpl(ApplicationProperties applicationProperties,
ExternalLinkUtil externalLinkUtil,
BuildUtilsInfo buildUtilsInfo,
I18nHelper.BeanFactory i18Factory,
DateTimeFormatter dateTimeFormatter,
com.atlassian.extras.decoder.api.LicenseDecoder decoder,
com.atlassian.extras.api.LicenseManager licenseManager,
ClusterManager clusterManager,
com.atlassian.core.util.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
LicenseDetails |
getLicense(String licenseString)
Converts an encrypted license string to a license details.
|
boolean |
isDecodeable(String licenseString)
Determines whether a license string can be decoded by this factory.
|
public LicenseDetailsFactoryImpl(ApplicationProperties applicationProperties, ExternalLinkUtil externalLinkUtil, BuildUtilsInfo buildUtilsInfo, I18nHelper.BeanFactory i18Factory, DateTimeFormatter dateTimeFormatter, com.atlassian.extras.decoder.api.LicenseDecoder decoder, com.atlassian.extras.api.LicenseManager licenseManager, ClusterManager clusterManager, com.atlassian.core.util.Clock clock)
@Nonnull public LicenseDetails getLicense(@Nullable String licenseString)
LicenseDetailsFactoryNullLicenseDetails.getLicense in interface LicenseDetailsFactorylicenseString - the (usually encrypted) license stringpublic boolean isDecodeable(String licenseString)
LicenseDetailsFactoryisDecodeable in interface LicenseDetailsFactorylicenseString - the (usually encrypted) license string to testCopyright © 2002-2015 Atlassian. All Rights Reserved.