Interface HealthCheckResultStrategy


  • public interface HealthCheckResultStrategy
    A strategy that allows SPI to process HealthCheck results and enrich and manipulate the result.
    • Method Detail

      • processResult

        void processResult​(HealthCheck check,
                           Map<String,​Object> options,
                           HealthCheckResultBuilder builder)
        Processes and allows manipulation of the result from the HealthCheck invocation.
        Parameters:
        check - the invoked health check
        options - optional options when invoked the health check
        builder - the result builder that builds the health check response, which can be enriched and manipulated by this strategy.