Class CachingLicenseDetailsAccessor
- java.lang.Object
-
- com.atlassian.bamboo.agent.license.CachingLicenseDetailsAccessor
-
- All Implemented Interfaces:
LicenseDetailsAccessor
public class CachingLicenseDetailsAccessor extends Object implements LicenseDetailsAccessor
-
-
Constructor Summary
Constructors Constructor Description CachingLicenseDetailsAccessor(LicenseDetailsAccessor licenseDetailsAccessor, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseDetails
getLicenseDetails()
void
newLicense()
Resetting current license details to the actual state.void
onLicenseUpdatedEvent(LicenseUpdatedEvent event)
-
-
-
Constructor Detail
-
CachingLicenseDetailsAccessor
public CachingLicenseDetailsAccessor(LicenseDetailsAccessor licenseDetailsAccessor, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
getLicenseDetails
public LicenseDetails getLicenseDetails()
- Specified by:
getLicenseDetails
in interfaceLicenseDetailsAccessor
- Returns:
- License details of current instance.
-
newLicense
public void newLicense()
Description copied from interface:LicenseDetailsAccessor
Resetting current license details to the actual state.- Specified by:
newLicense
in interfaceLicenseDetailsAccessor
-
onLicenseUpdatedEvent
@EventListener public void onLicenseUpdatedEvent(LicenseUpdatedEvent event)
-
-