Package com.atlassian.jira.license
Class CachingForgedLicenseDetectorImpl
java.lang.Object
com.atlassian.jira.license.CachingForgedLicenseDetectorImpl
- All Implemented Interfaces:
Startable
,ForgedLicenseDetector
public class CachingForgedLicenseDetectorImpl
extends Object
implements ForgedLicenseDetector, Startable
-
Constructor Summary
ConstructorsConstructorDescriptionCachingForgedLicenseDetectorImpl
(com.atlassian.cache.CacheManager cacheManager, com.atlassian.extras.decoder.api.LicenseDecoder licenseDecoder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isLicenseForged
(String licenseString) void
start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Constructor Details
-
CachingForgedLicenseDetectorImpl
public CachingForgedLicenseDetectorImpl(com.atlassian.cache.CacheManager cacheManager, com.atlassian.extras.decoder.api.LicenseDecoder licenseDecoder)
-
-
Method Details
-
start
public void start()Description copied from interface:Startable
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
isLicenseForged
- Specified by:
isLicenseForged
in interfaceForgedLicenseDetector
- Parameters:
licenseString
- a raw license string- Returns:
- true if license is forged, false otherwise
-