Interface HealthCheck

    • Method Detail

      • getId

        default String getId()
        Returns the unique ID of this check.
        Returns:
        a stable, unique, non-blank ID
      • getPrerequisites

        @NonNull Collection<HealthCheck> getPrerequisites()
        Returns the checks that must have a non-EventLevel.FATAL result before this check can be run.
        Returns:
        see above
      • isApplicableFor

        boolean isApplicableFor​(LifecyclePhase phase)
        Checks if current HealthCheck is applicable for given phase
        Returns:
        true if HealthCheck is applicable for the phase