@ParametersAreNonnullByDefault
public interface HealthCheckRegistry
HealthChecks to be registered.| Modifier and Type | Method and Description |
|---|---|
@NonNull Collection<HealthCheck> |
getAll()
Returns the health checks in order of execution.
|
void |
register(HealthCheck healthCheck)
Registers the given health check for later execution.
|
void |
registrationComplete()
Signals to this registry that registration of health checks is complete.
|
void register(HealthCheck healthCheck)
healthCheck - the health check to registervoid registrationComplete()
@NonNull Collection<HealthCheck> getAll()
IllegalStateException - if registrationComplete() has not been calledCopyright © 2003–2019 Atlassian. All rights reserved.