Interface SupportContext

  • All Known Implementing Classes:
    SupportContextImpl

    public interface SupportContext
    The context that a Component is being instantiated in.
    Author:
    Stephen Connolly
    • Method Detail

      • getMetricsRegistry

        @Deprecated
        com.codahale.metrics.MetricRegistry getMetricsRegistry()
        Deprecated.
        use Metrics.metricRegistry()
        Returns the MetricRegistry for the current Jenkins.
        Returns:
        the MetricRegistry for the current Jenkins.
      • getHealthCheckRegistry

        @Deprecated
        com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry()
        Deprecated.
        use Metrics.healthCheckRegistry()
        Returns the HealthCheckRegistry for the current.
        Returns:
        the HealthCheckRegistry for the current.