Class HealthCheckTemplate

    • Constructor Detail

    • Method Detail

      • isApplicableFor

        public final boolean isApplicableFor​(LifecyclePhase phase)
        Description copied from interface: HealthCheck
        Checks if current HealthCheck is applicable for given phase
        Returns:
        true if HealthCheck is applicable for the phase
      • getApplicablePhases

        protected abstract Set<LifecyclePhase> getApplicablePhases()
        Subclasses should indicate the phases in which this check should run.
        Returns:
        the applicable phases