Class AbstractHealthCheck
- java.lang.Object
-
- com.atlassian.confluence.impl.health.AbstractHealthCheck
-
- All Implemented Interfaces:
HealthCheck
- Direct Known Subclasses:
FakeHealthCheck
,HealthCheckTemplate
public abstract class AbstractHealthCheck extends Object implements HealthCheck
Convenient superclass for health checks.- Since:
- 6.6.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractHealthCheck(Iterable<HealthCheck> prerequisites)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<HealthCheck>
getPrerequisites()
Returns the checks that must have a non-EventLevel.FATAL
result before this check can be run.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.internal.health.HealthCheck
getId, isApplicableFor, perform
-
-
-
-
Constructor Detail
-
AbstractHealthCheck
protected AbstractHealthCheck(Iterable<HealthCheck> prerequisites)
-
-
Method Detail
-
getPrerequisites
public final Collection<HealthCheck> getPrerequisites()
Description copied from interface:HealthCheck
Returns the checks that must have a non-EventLevel.FATAL
result before this check can be run.- Specified by:
getPrerequisites
in interfaceHealthCheck
- Returns:
- see above
-
-