@ParametersAreNonnullByDefault public class StandaloneLicenseHealthCheck extends AbstractHealthCheck
HealthCheck
that checks for a valid license in standalone (non-clustered) mode.
This check is different from other HealthCheck
s 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.BLOCKING_START, 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
|
getPrerequisites
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId
@Nonnull public static StandaloneLicenseHealthCheck getInstance(HealthCheck... prerequisites)
prerequisites
- any prerequisite checkspublic List<HealthCheckResult> perform(LifecyclePhase phase)
HealthCheck
HealthCheckResult
public boolean isApplicableFor(LifecyclePhase phase)
HealthCheck
Copyright © 2002-2023 Atlassian. All Rights Reserved.