public class LicenseValidationHealthCheck extends HealthCheckTemplate
HealthCheck
that checks for a valid confluence license.
This check should run during the BOOTSTRAP_END
lifecycle phase and only if setup has completed.
Constructor and Description |
---|
LicenseValidationHealthCheck(BootstrapManager bootstrapManager,
LicenseService licenseService,
LicenseValidator licenseValidator) |
Modifier and Type | Method and Description |
---|---|
protected List<HealthCheckResult> |
doPerform()
Subclasses should perform their check and return any results arising from it.
|
protected Set<LifecyclePhase> |
getApplicablePhases()
Subclasses should indicate the phases in which this check should run.
|
isApplicableFor, perform
getPrerequisites
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
public LicenseValidationHealthCheck(BootstrapManager bootstrapManager, LicenseService licenseService, LicenseValidator licenseValidator)
protected Set<LifecyclePhase> getApplicablePhases()
HealthCheckTemplate
getApplicablePhases
in class HealthCheckTemplate
protected List<HealthCheckResult> doPerform()
HealthCheckTemplate
doPerform
in class HealthCheckTemplate
HealthCheckTemplate.getApplicablePhases()
,
HealthCheck.perform(LifecyclePhase)
Copyright © 2003–2020 Atlassian. All rights reserved.