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 TypeMethodDescriptionbooleanisLicenseForged(String licenseString) voidstart()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:StartableThis method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
isLicenseForged
- Specified by:
isLicenseForgedin interfaceForgedLicenseDetector- Parameters:
licenseString- a raw license string- Returns:
- true if license is forged, false otherwise
-