@ParametersAreNonnullByDefault public interface HealthCheckRegistry
HealthCheck
s to be registered.Modifier and Type | Method and Description |
---|---|
Collection<HealthCheck> |
getAll()
Returns the health checks in order of execution.
|
void |
register(HealthCheck... healthChecks)
Registers the given health check(s) for later execution.
|
void |
registrationComplete()
Signals to this registry that registration of health checks is complete.
|
void register(HealthCheck... healthChecks)
healthChecks
- the health check(s) to registervoid registrationComplete()
@Nonnull Collection<HealthCheck> getAll()
IllegalStateException
- if registrationComplete()
has not been calledCopyright © 2002-2024 Atlassian. All Rights Reserved.