@ParametersAreNonnullByDefault public final class HealthChecks extends Object
HealthCheck
s.Modifier and Type | Method and Description |
---|---|
static boolean |
isComplete()
Indicates whether all possible health checks have been run, across all
LifecyclePhase s. |
static void |
raiseFatalStartupProblem()
Create a HealthCheckResult indicating a fatal startup problem and raise it.
|
static void |
runHealthChecks(LifecyclePhase lifecyclePhase)
Runs the
HealthCheck s in the given LifecyclePhase . |
public static boolean isComplete()
LifecyclePhase
s.false
if this is not the last phase or the current phase has some checks left to runLifecyclePhase.isLast()
public static void runHealthChecks(LifecyclePhase lifecyclePhase)
HealthCheck
s in the given LifecyclePhase
.lifecyclePhase
- the lifecycle phasepublic static void raiseFatalStartupProblem()
Copyright © 2002-2017 Atlassian. All Rights Reserved.