@ParametersAreNonnullByDefault public class StandaloneLicenseHealthCheck extends AbstractHealthCheck
HealthCheck that checks for a valid license in standalone (non-clustered) mode.
This check is different from other HealthChecks in that it's not run during any LifecyclePhase.
Instead, it's run as required via HealthChecks.isLicenseValid(), e.g. during the setup and import processes.CAUSE_KEY, CHECK_ID_KEY, DISMISSIBLE, EVENT_ID_KEY, HELP_URL_KEY, INTERACTIVE_JOHNSON, JOHNSON_UI_VERSION, TEMPLATE_CONTEXT| Modifier and Type | Method and Description |
|---|---|
static StandaloneLicenseHealthCheck |
getInstance(HealthCheck... prerequisites)
Returns a new instance of this check.
|
boolean |
isApplicableFor(LifecyclePhase phase)
Checks if current HealthCheck is applicable for given phase
|
List<HealthCheckResult> |
perform(LifecyclePhase phase)
Performs health check for given phase
|
getPrerequisitesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId@Nonnull public static StandaloneLicenseHealthCheck getInstance(HealthCheck... prerequisites)
prerequisites - any prerequisite checkspublic List<HealthCheckResult> perform(LifecyclePhase phase)
HealthCheckHealthCheckResultpublic boolean isApplicableFor(LifecyclePhase phase)
HealthCheckCopyright © 2002-2021 Atlassian. All Rights Reserved.