Commit d91f27e1 authored by Phillip Webb's avatar Phillip Webb

Fix Javadoc @Since checkstle violations

Apply consistent `@Since` tags and retrofit the existing code using a
best guess from the git history.

Closes gh-17360
parent dc5c5702
...@@ -41,6 +41,7 @@ import org.springframework.util.Assert; ...@@ -41,6 +41,7 @@ import org.springframework.util.Assert;
* (wrappers for AuditEvent). * (wrappers for AuditEvent).
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see AuditEventRepository * @see AuditEventRepository
*/ */
@JsonInclude(Include.NON_EMPTY) @JsonInclude(Include.NON_EMPTY)
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -24,6 +24,7 @@ import java.util.List; ...@@ -24,6 +24,7 @@ import java.util.List;
* *
* @author Dave Syer * @author Dave Syer
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public interface AuditEventRepository { public interface AuditEventRepository {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -28,6 +28,7 @@ import org.springframework.util.Assert; ...@@ -28,6 +28,7 @@ import org.springframework.util.Assert;
* @author Dave Syer * @author Dave Syer
* @author Phillip Webb * @author Phillip Webb
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public class InMemoryAuditEventRepository implements AuditEventRepository { public class InMemoryAuditEventRepository implements AuditEventRepository {
......
...@@ -27,6 +27,7 @@ import org.springframework.util.Assert; ...@@ -27,6 +27,7 @@ import org.springframework.util.Assert;
* Spring {@link ApplicationEvent} to encapsulate {@link AuditEvent}s. * Spring {@link ApplicationEvent} to encapsulate {@link AuditEvent}s.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class AuditApplicationEvent extends ApplicationEvent { public class AuditApplicationEvent extends ApplicationEvent {
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -29,6 +29,7 @@ import org.springframework.boot.actuate.audit.AuditEventRepository; ...@@ -29,6 +29,7 @@ import org.springframework.boot.actuate.audit.AuditEventRepository;
* @author Dave Syer * @author Dave Syer
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public class AuditListener extends AbstractAuditListener { public class AuditListener extends AbstractAuditListener {
......
...@@ -30,6 +30,7 @@ import org.springframework.beans.factory.annotation.Qualifier; ...@@ -30,6 +30,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
* distinguish it from others that might be installed by the user). * distinguish it from others that might be installed by the user).
* *
* @author Dave Syer * @author Dave Syer
* @since 1.3.0
*/ */
@Qualifier @Qualifier
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE }) @Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE })
......
...@@ -37,6 +37,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -37,6 +37,7 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Dave Syer * @author Dave Syer
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
@Configuration @Configuration
public class AuditAutoConfiguration { public class AuditAutoConfiguration {
......
...@@ -114,6 +114,7 @@ import org.springframework.util.StringUtils; ...@@ -114,6 +114,7 @@ import org.springframework.util.StringUtils;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Matt Benson * @author Matt Benson
* @since 1.0.0
* @see ShellProperties * @see ShellProperties
* @deprecated as of 1.5 since CRaSH is not actively maintained * @deprecated as of 1.5 since CRaSH is not actively maintained
*/ */
......
...@@ -77,6 +77,7 @@ import org.springframework.web.servlet.handler.AbstractHandlerMethodMapping; ...@@ -77,6 +77,7 @@ import org.springframework.web.servlet.handler.AbstractHandlerMethodMapping;
* @author Eddú Meléndez * @author Eddú Meléndez
* @author Meang Akira Tanaka * @author Meang Akira Tanaka
* @author Ben Hale * @author Ben Hale
* @since 1.0.0
*/ */
@Configuration @Configuration
@AutoConfigureAfter({ FlywayAutoConfiguration.class, LiquibaseAutoConfiguration.class }) @AutoConfigureAfter({ FlywayAutoConfiguration.class, LiquibaseAutoConfiguration.class })
......
...@@ -50,6 +50,7 @@ import org.springframework.util.StringUtils; ...@@ -50,6 +50,7 @@ import org.springframework.util.StringUtils;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@Configuration @Configuration
@Conditional(JmxEnabledCondition.class) @Conditional(JmxEnabledCondition.class)
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import org.springframework.util.StringUtils; ...@@ -26,6 +26,7 @@ import org.springframework.util.StringUtils;
* Configuration properties for JMX. * Configuration properties for JMX.
* *
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.jmx") @ConfigurationProperties(prefix = "endpoints.jmx")
public class EndpointMBeanExportProperties { public class EndpointMBeanExportProperties {
......
...@@ -94,6 +94,7 @@ import org.springframework.web.servlet.DispatcherServlet; ...@@ -94,6 +94,7 @@ import org.springframework.web.servlet.DispatcherServlet;
* @author Johannes Edmeier * @author Johannes Edmeier
* @author Eddú Meléndez * @author Eddú Meléndez
* @author Venil Noronha * @author Venil Noronha
* @since 1.0.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ Servlet.class, DispatcherServlet.class }) @ConditionalOnClass({ Servlet.class, DispatcherServlet.class })
......
...@@ -75,6 +75,7 @@ import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolv ...@@ -75,6 +75,7 @@ import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolv
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Eddú Meléndez * @author Eddú Meléndez
* @since 1.0.0
* @see EndpointWebMvcAutoConfiguration * @see EndpointWebMvcAutoConfiguration
*/ */
@Configuration @Configuration
......
...@@ -59,6 +59,7 @@ import org.springframework.web.servlet.mvc.ServletWrappingController; ...@@ -59,6 +59,7 @@ import org.springframework.web.servlet.mvc.ServletWrappingController;
* @author Christian Dupuis * @author Christian Dupuis
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@Configuration @Configuration
@ConditionalOnWebApplication @ConditionalOnWebApplication
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -26,6 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "jolokia") @ConfigurationProperties(prefix = "jolokia")
public class JolokiaProperties { public class JolokiaProperties {
......
...@@ -39,6 +39,7 @@ import org.springframework.util.StringUtils; ...@@ -39,6 +39,7 @@ import org.springframework.util.StringUtils;
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Vedran Pavic * @author Vedran Pavic
* @see ServerProperties * @see ServerProperties
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "management", ignoreUnknownFields = true) @ConfigurationProperties(prefix = "management", ignoreUnknownFields = true)
public class ManagementServerProperties implements SecurityPrerequisite { public class ManagementServerProperties implements SecurityPrerequisite {
......
...@@ -33,6 +33,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -33,6 +33,7 @@ import org.springframework.context.annotation.Configuration;
* {@link ManagementServerProperties} bean. * {@link ManagementServerProperties} bean.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@Configuration @Configuration
@AutoConfigureAfter(ServerPropertiesAutoConfiguration.class) @AutoConfigureAfter(ServerPropertiesAutoConfiguration.class)
......
...@@ -83,6 +83,7 @@ import org.springframework.util.StringUtils; ...@@ -83,6 +83,7 @@ import org.springframework.util.StringUtils;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.3.0
*/ */
@Configuration @Configuration
@ConditionalOnWebApplication @ConditionalOnWebApplication
......
...@@ -40,6 +40,7 @@ import org.springframework.web.servlet.HandlerMapping; ...@@ -40,6 +40,7 @@ import org.springframework.web.servlet.HandlerMapping;
* @author Phillip Webb * @author Phillip Webb
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Sebastian Kirsch * @author Sebastian Kirsch
* @since 1.0.0
*/ */
@Configuration @Configuration
@ConditionalOnBean({ CounterService.class, GaugeService.class }) @ConditionalOnBean({ CounterService.class, GaugeService.class })
......
...@@ -69,12 +69,13 @@ import org.springframework.messaging.MessageChannel; ...@@ -69,12 +69,13 @@ import org.springframework.messaging.MessageChannel;
* application context via a {@link MetricCopyExporter} firing every 5 seconds (disable * application context via a {@link MetricCopyExporter} firing every 5 seconds (disable
* this by setting {@code spring.metrics.export.enabled=false}). * this by setting {@code spring.metrics.export.enabled=false}).
* *
* @author Dave Syer
* @since 1.0.0
* @see GaugeService * @see GaugeService
* @see CounterService * @see CounterService
* @see MetricWriter * @see MetricWriter
* @see InMemoryMetricRepository * @see InMemoryMetricRepository
* @see Exporter * @see Exporter
* @author Dave Syer
*/ */
@Configuration @Configuration
public class MetricRepositoryAutoConfiguration { public class MetricRepositoryAutoConfiguration {
......
...@@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; ...@@ -38,6 +38,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb * @author Phillip Webb
* @author Eddú Meléndez * @author Eddú Meléndez
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.0.0
* @deprecated as of 1.5 since CRaSH is not actively maintained * @deprecated as of 1.5 since CRaSH is not actively maintained
*/ */
@ConfigurationProperties(prefix = ShellProperties.SHELL_PREFIX, ignoreUnknownFields = true) @ConfigurationProperties(prefix = ShellProperties.SHELL_PREFIX, ignoreUnknownFields = true)
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -27,6 +27,7 @@ import org.springframework.context.annotation.Configuration; ...@@ -27,6 +27,7 @@ import org.springframework.context.annotation.Configuration;
* {@link EnableAutoConfiguration Auto-configuration} for {@link TraceRepository tracing}. * {@link EnableAutoConfiguration Auto-configuration} for {@link TraceRepository tracing}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@Configuration @Configuration
public class TraceRepositoryAutoConfiguration { public class TraceRepositoryAutoConfiguration {
......
...@@ -40,6 +40,7 @@ import org.springframework.web.servlet.DispatcherServlet; ...@@ -40,6 +40,7 @@ import org.springframework.web.servlet.DispatcherServlet;
* tracing}. * tracing}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ Servlet.class, DispatcherServlet.class, ServletRegistration.class }) @ConditionalOnClass({ Servlet.class, DispatcherServlet.class, ServletRegistration.class })
......
...@@ -28,6 +28,7 @@ import org.springframework.util.Assert; ...@@ -28,6 +28,7 @@ import org.springframework.util.Assert;
* @param <T> the endpoint data type * @param <T> the endpoint data type
* @author Phillip Webb * @author Phillip Webb
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.0.0
*/ */
public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAware { public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAware {
......
...@@ -45,6 +45,7 @@ import org.springframework.util.StringUtils; ...@@ -45,6 +45,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb * @author Phillip Webb
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.autoconfig") @ConfigurationProperties(prefix = "endpoints.autoconfig")
public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> { public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> {
......
...@@ -39,6 +39,7 @@ import org.springframework.util.Assert; ...@@ -39,6 +39,7 @@ import org.springframework.util.Assert;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.beans") @ConfigurationProperties(prefix = "endpoints.beans")
public class BeansEndpoint extends AbstractEndpoint<List<Object>> implements ApplicationContextAware { public class BeansEndpoint extends AbstractEndpoint<List<Object>> implements ApplicationContextAware {
......
...@@ -63,6 +63,7 @@ import org.springframework.util.StringUtils; ...@@ -63,6 +63,7 @@ import org.springframework.util.StringUtils;
* @author Christian Dupuis * @author Christian Dupuis
* @author Dave Syer * @author Dave Syer
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.configprops") @ConfigurationProperties(prefix = "endpoints.configprops")
public class ConfigurationPropertiesReportEndpoint extends AbstractEndpoint<Map<String, Object>> public class ConfigurationPropertiesReportEndpoint extends AbstractEndpoint<Map<String, Object>>
......
...@@ -27,6 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -27,6 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* {@link Endpoint} to expose thread info. * {@link Endpoint} to expose thread info.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.dump") @ConfigurationProperties(prefix = "endpoints.dump")
public class DumpEndpoint extends AbstractEndpoint<List<ThreadInfo>> { public class DumpEndpoint extends AbstractEndpoint<List<ThreadInfo>> {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -25,6 +25,7 @@ package org.springframework.boot.actuate.endpoint; ...@@ -25,6 +25,7 @@ package org.springframework.boot.actuate.endpoint;
* @author Phillip Webb * @author Phillip Webb
* @author Dave Syer * @author Dave Syer
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.0.0
* @see AbstractEndpoint * @see AbstractEndpoint
*/ */
public interface Endpoint<T> { public interface Endpoint<T> {
......
...@@ -39,6 +39,7 @@ import org.springframework.core.env.StandardEnvironment; ...@@ -39,6 +39,7 @@ import org.springframework.core.env.StandardEnvironment;
* @author Phillip Webb * @author Phillip Webb
* @author Christian Dupuis * @author Christian Dupuis
* @author Madhura Bhave * @author Madhura Bhave
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.env") @ConfigurationProperties(prefix = "endpoints.env")
public class EnvironmentEndpoint extends AbstractEndpoint<Map<String, Object>> { public class EnvironmentEndpoint extends AbstractEndpoint<Map<String, Object>> {
......
...@@ -32,6 +32,7 @@ import org.springframework.util.Assert; ...@@ -32,6 +32,7 @@ import org.springframework.util.Assert;
* @author Dave Syer * @author Dave Syer
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.health") @ConfigurationProperties(prefix = "endpoints.health")
public class HealthEndpoint extends AbstractEndpoint<Health> { public class HealthEndpoint extends AbstractEndpoint<Health> {
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -30,6 +30,7 @@ import org.springframework.util.Assert; ...@@ -30,6 +30,7 @@ import org.springframework.util.Assert;
* @author Dave Syer * @author Dave Syer
* @author Meang Akira Tanaka * @author Meang Akira Tanaka
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.info") @ConfigurationProperties(prefix = "endpoints.info")
public class InfoEndpoint extends AbstractEndpoint<Map<String, Object>> { public class InfoEndpoint extends AbstractEndpoint<Map<String, Object>> {
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -31,6 +31,7 @@ import org.springframework.util.Assert; ...@@ -31,6 +31,7 @@ import org.springframework.util.Assert;
* @author Christian Dupuis * @author Christian Dupuis
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Phillip Webb * @author Phillip Webb
* @since 1.0.0
*/ */
public class MetricReaderPublicMetrics implements PublicMetrics { public class MetricReaderPublicMetrics implements PublicMetrics {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -32,6 +32,7 @@ import org.springframework.util.Assert; ...@@ -32,6 +32,7 @@ import org.springframework.util.Assert;
* {@link Endpoint} to expose a collection of {@link PublicMetrics}. * {@link Endpoint} to expose a collection of {@link PublicMetrics}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.metrics") @ConfigurationProperties(prefix = "endpoints.metrics")
public class MetricsEndpoint extends AbstractEndpoint<Map<String, Object>> { public class MetricsEndpoint extends AbstractEndpoint<Map<String, Object>> {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -27,6 +27,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -27,6 +27,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* or across a distributed system. * or across a distributed system.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see SystemPublicMetrics SystemPublicMetrics for an example implementation * @see SystemPublicMetrics SystemPublicMetrics for an example implementation
*/ */
public interface PublicMetrics { public interface PublicMetrics {
......
...@@ -37,6 +37,7 @@ import org.springframework.web.servlet.handler.AbstractUrlHandlerMapping; ...@@ -37,6 +37,7 @@ import org.springframework.web.servlet.handler.AbstractUrlHandlerMapping;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.mappings") @ConfigurationProperties(prefix = "endpoints.mappings")
public class RequestMappingEndpoint extends AbstractEndpoint<Map<String, Object>> implements ApplicationContextAware { public class RequestMappingEndpoint extends AbstractEndpoint<Map<String, Object>> implements ApplicationContextAware {
......
...@@ -29,7 +29,7 @@ import org.springframework.util.Assert; ...@@ -29,7 +29,7 @@ import org.springframework.util.Assert;
* {@link PublicMetrics} exposed from a {@link RichGaugeReader}. * {@link PublicMetrics} exposed from a {@link RichGaugeReader}.
* *
* @author Johannes Edmeier * @author Johannes Edmeier
* @since 1.2 * @since 1.2.0
*/ */
public class RichGaugeReaderPublicMetrics implements PublicMetrics { public class RichGaugeReaderPublicMetrics implements PublicMetrics {
......
...@@ -31,6 +31,7 @@ import org.springframework.context.ConfigurableApplicationContext; ...@@ -31,6 +31,7 @@ import org.springframework.context.ConfigurableApplicationContext;
* @author Dave Syer * @author Dave Syer
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.shutdown") @ConfigurationProperties(prefix = "endpoints.shutdown")
public class ShutdownEndpoint extends AbstractEndpoint<Map<String, Object>> implements ApplicationContextAware { public class ShutdownEndpoint extends AbstractEndpoint<Map<String, Object>> implements ApplicationContextAware {
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -27,6 +27,7 @@ import org.springframework.util.Assert; ...@@ -27,6 +27,7 @@ import org.springframework.util.Assert;
* {@link Endpoint} to expose {@link Trace} information. * {@link Endpoint} to expose {@link Trace} information.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.trace") @ConfigurationProperties(prefix = "endpoints.trace")
public class TraceEndpoint extends AbstractEndpoint<List<Trace>> { public class TraceEndpoint extends AbstractEndpoint<List<Trace>> {
......
...@@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedAttribute; ...@@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedAttribute;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class DataEndpointMBean extends EndpointMBean { public class DataEndpointMBean extends EndpointMBean {
......
...@@ -31,6 +31,7 @@ import org.springframework.util.ObjectUtils; ...@@ -31,6 +31,7 @@ import org.springframework.util.ObjectUtils;
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Vedran Pavic * @author Vedran Pavic
* @author Phillip Webb * @author Phillip Webb
* @since 1.0.0
* @see JmxEndpoint * @see JmxEndpoint
* @see DataEndpointMBean * @see DataEndpointMBean
*/ */
......
...@@ -62,6 +62,7 @@ import org.springframework.util.ObjectUtils; ...@@ -62,6 +62,7 @@ import org.springframework.util.ObjectUtils;
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public class EndpointMBeanExporter extends MBeanExporter implements SmartLifecycle, ApplicationContextAware { public class EndpointMBeanExporter extends MBeanExporter implements SmartLifecycle, ApplicationContextAware {
......
...@@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedOperation; ...@@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedOperation;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class ShutdownEndpointMBean extends EndpointMBean { public class ShutdownEndpointMBean extends EndpointMBean {
......
...@@ -60,6 +60,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl ...@@ -60,6 +60,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl
* @author Christian Dupuis * @author Christian Dupuis
* @author Dave Syer * @author Dave Syer
* @author Madhura Bhave * @author Madhura Bhave
* @since 1.5.0
*/ */
public abstract class AbstractEndpointHandlerMapping<E extends MvcEndpoint> extends RequestMappingHandlerMapping { public abstract class AbstractEndpointHandlerMapping<E extends MvcEndpoint> extends RequestMappingHandlerMapping {
......
...@@ -37,6 +37,7 @@ import org.springframework.web.servlet.HandlerMapping; ...@@ -37,6 +37,7 @@ import org.springframework.web.servlet.HandlerMapping;
* @author Phillip Webb * @author Phillip Webb
* @author Christian Dupuis * @author Christian Dupuis
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class EndpointHandlerMapping extends AbstractEndpointHandlerMapping<MvcEndpoint> { public class EndpointHandlerMapping extends AbstractEndpointHandlerMapping<MvcEndpoint> {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter<Endpoint<?>> { public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter<Endpoint<?>> {
......
...@@ -35,6 +35,7 @@ import org.springframework.web.bind.annotation.ResponseStatus; ...@@ -35,6 +35,7 @@ import org.springframework.web.bind.annotation.ResponseStatus;
* @author Dave Syer * @author Dave Syer
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.env") @ConfigurationProperties(prefix = "endpoints.env")
public class EnvironmentMvcEndpoint extends EndpointMvcAdapter implements EnvironmentAware { public class EnvironmentMvcEndpoint extends EndpointMvcAdapter implements EnvironmentAware {
......
...@@ -42,6 +42,7 @@ import org.springframework.web.util.UrlPathHelper; ...@@ -42,6 +42,7 @@ import org.springframework.web.util.UrlPathHelper;
* *
* @author Christian Dupuis * @author Christian Dupuis
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.jolokia", ignoreUnknownFields = false) @ConfigurationProperties(prefix = "endpoints.jolokia", ignoreUnknownFields = false)
@HypermediaDisabled @HypermediaDisabled
......
...@@ -32,6 +32,7 @@ import org.springframework.web.context.request.RequestContextHolder; ...@@ -32,6 +32,7 @@ import org.springframework.web.context.request.RequestContextHolder;
* because of the way the handler mappings are set up it will not be detected. * because of the way the handler mappings are set up it will not be detected.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@Controller @Controller
public class ManagementErrorEndpoint { public class ManagementErrorEndpoint {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseStatus; ...@@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseStatus;
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Sergei Egorov * @author Sergei Egorov
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.metrics") @ConfigurationProperties(prefix = "endpoints.metrics")
public class MetricsMvcEndpoint extends EndpointMvcAdapter { public class MetricsMvcEndpoint extends EndpointMvcAdapter {
......
...@@ -31,6 +31,7 @@ import org.springframework.http.ResponseEntity; ...@@ -31,6 +31,7 @@ import org.springframework.http.ResponseEntity;
* {@link EndpointHandlerMapping}). * {@link EndpointHandlerMapping}).
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see NamedMvcEndpoint * @see NamedMvcEndpoint
*/ */
public interface MvcEndpoint { public interface MvcEndpoint {
......
...@@ -37,6 +37,7 @@ import org.springframework.core.env.Environment; ...@@ -37,6 +37,7 @@ import org.springframework.core.env.Environment;
* endpoints. * endpoints.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class MvcEndpoints implements ApplicationContextAware, InitializingBean { public class MvcEndpoints implements ApplicationContextAware, InitializingBean {
......
...@@ -33,7 +33,6 @@ import java.util.regex.PatternSyntaxException; ...@@ -33,7 +33,6 @@ import java.util.regex.PatternSyntaxException;
* @author Sergei Egorov * @author Sergei Egorov
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Dylian Bego * @author Dylian Bego
* @since 1.3.0
*/ */
abstract class NamePatternFilter<T> { abstract class NamePatternFilter<T> {
......
...@@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseBody; ...@@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
* Adapter to expose {@link ShutdownEndpoint} as an {@link MvcEndpoint}. * Adapter to expose {@link ShutdownEndpoint} as an {@link MvcEndpoint}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "endpoints.shutdown") @ConfigurationProperties(prefix = "endpoints.shutdown")
public class ShutdownMvcEndpoint extends EndpointMvcAdapter { public class ShutdownMvcEndpoint extends EndpointMvcAdapter {
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -21,6 +21,7 @@ package org.springframework.boot.actuate.health; ...@@ -21,6 +21,7 @@ package org.springframework.boot.actuate.health;
* *
* @author Dave Syer * @author Dave Syer
* @author Christian Dupuis * @author Christian Dupuis
* @since 1.2.0
* @see Status#UP * @see Status#UP
*/ */
public class ApplicationHealthIndicator extends AbstractHealthIndicator { public class ApplicationHealthIndicator extends AbstractHealthIndicator {
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.health; ...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.health;
* Strategy interface used to provide an indication of application health. * Strategy interface used to provide an indication of application health.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see ApplicationHealthIndicator * @see ApplicationHealthIndicator
*/ */
public interface HealthIndicator { public interface HealthIndicator {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -28,7 +28,7 @@ import org.springframework.util.Assert; ...@@ -28,7 +28,7 @@ import org.springframework.util.Assert;
* *
* @author Eddú Meléndez * @author Eddú Meléndez
* @author Stephane Nicoll * @author Stephane Nicoll
* @version 1.5.0 * @since 1.5.0
*/ */
public class LdapHealthIndicator extends AbstractHealthIndicator { public class LdapHealthIndicator extends AbstractHealthIndicator {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics; ...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics;
* A service that can be used to increment, decrement and reset a named counter value. * A service that can be used to increment, decrement and reset a named counter value.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface CounterService { public interface CounterService {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ package org.springframework.boot.actuate.metrics; ...@@ -26,6 +26,7 @@ package org.springframework.boot.actuate.metrics;
* be passed on to a monitoring system in its raw form. * be passed on to a monitoring system in its raw form.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface GaugeService { public interface GaugeService {
......
...@@ -28,6 +28,7 @@ import org.springframework.util.ObjectUtils; ...@@ -28,6 +28,7 @@ import org.springframework.util.ObjectUtils;
* *
* @param <T> the value type * @param <T> the value type
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class Metric<T extends Number> { public class Metric<T extends Number> {
......
...@@ -52,6 +52,7 @@ import org.springframework.util.Assert; ...@@ -52,6 +52,7 @@ import org.springframework.util.Assert;
* @author Dave Syer * @author Dave Syer
* @author Jay Anderson * @author Jay Anderson
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class DropwizardMetricServices implements CounterService, GaugeService { public class DropwizardMetricServices implements CounterService, GaugeService {
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -26,6 +26,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* Composite implementation of {@link MetricReader}. * Composite implementation of {@link MetricReader}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class CompositeMetricReader implements MetricReader { public class CompositeMetricReader implements MetricReader {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* A simple reader interface used to interrogate {@link Metric}s. * A simple reader interface used to interrogate {@link Metric}s.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface MetricReader { public interface MetricReader {
......
...@@ -52,6 +52,7 @@ import org.springframework.util.StringUtils; ...@@ -52,6 +52,7 @@ import org.springframework.util.StringUtils;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class MetricRegistryMetricReader implements MetricReader, MetricRegistryListener { public class MetricRegistryMetricReader implements MetricReader, MetricRegistryListener {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* Interface for extracting metrics as a group whose name starts with a prefix. * Interface for extracting metrics as a group whose name starts with a prefix.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface PrefixMetricReader { public interface PrefixMetricReader {
......
...@@ -29,6 +29,7 @@ import org.springframework.boot.actuate.metrics.writer.Delta; ...@@ -29,6 +29,7 @@ import org.springframework.boot.actuate.metrics.writer.Delta;
* *
* @author Dave Syer * @author Dave Syer
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.0.0
*/ */
public class InMemoryMetricRepository implements MetricRepository { public class InMemoryMetricRepository implements MetricRepository {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -23,6 +23,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; ...@@ -23,6 +23,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter;
* Convenient combination of reader and writer concerns. * Convenient combination of reader and writer concerns.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface MetricRepository extends MetricReader, MetricWriter { public interface MetricRepository extends MetricReader, MetricWriter {
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.writer.PrefixMetricWriter; ...@@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.writer.PrefixMetricWriter;
* metrics with a common name prefix (their group name). * metrics with a common name prefix (their group name).
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface MultiMetricRepository extends PrefixMetricReader, PrefixMetricWriter { public interface MultiMetricRepository extends PrefixMetricReader, PrefixMetricWriter {
......
...@@ -39,6 +39,7 @@ import org.springframework.util.Assert; ...@@ -39,6 +39,7 @@ import org.springframework.util.Assert;
* metrics). * metrics).
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class RedisMetricRepository implements MetricRepository { public class RedisMetricRepository implements MetricRepository {
......
...@@ -38,6 +38,7 @@ import org.springframework.util.Assert; ...@@ -38,6 +38,7 @@ import org.springframework.util.Assert;
* names are stored as a zset under "keys." + {@code [prefix]}. * names are stored as a zset under "keys." + {@code [prefix]}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class RedisMultiMetricRepository implements MultiMetricRepository { public class RedisMultiMetricRepository implements MultiMetricRepository {
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -30,6 +30,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; ...@@ -30,6 +30,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter;
* *
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class InMemoryRichGaugeRepository implements RichGaugeRepository { public class InMemoryRichGaugeRepository implements RichGaugeRepository {
......
...@@ -28,6 +28,7 @@ import org.springframework.util.Assert; ...@@ -28,6 +28,7 @@ import org.springframework.util.Assert;
* document</a>. * document</a>.
* *
* @author Luke Taylor * @author Luke Taylor
* @since 1.0.0
*/ */
public final class RichGauge { public final class RichGauge {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics.rich; ...@@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics.rich;
* A basic set of read operations for {@link RichGauge} instances. * A basic set of read operations for {@link RichGauge} instances.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface RichGaugeReader { public interface RichGaugeReader {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; ...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter;
* Convenient combination of reader and writer concerns for {@link RichGauge} instances. * Convenient combination of reader and writer concerns for {@link RichGauge} instances.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface RichGaugeRepository extends RichGaugeReader, MetricWriter { public interface RichGaugeRepository extends RichGaugeReader, MetricWriter {
......
...@@ -29,6 +29,7 @@ import java.util.concurrent.ConcurrentSkipListMap; ...@@ -29,6 +29,7 @@ import java.util.concurrent.ConcurrentSkipListMap;
* @param <T> the type to store * @param <T> the type to store
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 1.0.0
*/ */
public class SimpleInMemoryRepository<T> { public class SimpleInMemoryRepository<T> {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -28,6 +28,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -28,6 +28,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* the delegates that have been registered. * the delegates that have been registered.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class CompositeMetricWriter implements MetricWriter, Iterable<MetricWriter> { public class CompositeMetricWriter implements MetricWriter, Iterable<MetricWriter> {
......
/* /*
* Copyright 2012-2016 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.CounterService; ...@@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.CounterService;
* Default implementation of {@link CounterService}. * Default implementation of {@link CounterService}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class DefaultCounterService implements CounterService { public class DefaultCounterService implements CounterService {
......
...@@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* Default implementation of {@link GaugeService}. * Default implementation of {@link GaugeService}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class DefaultGaugeService implements GaugeService { public class DefaultGaugeService implements GaugeService {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* *
* @param <T> the value type * @param <T> the value type
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public class Delta<T extends Number> extends Metric<T> { public class Delta<T extends Number> extends Metric<T> {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -25,6 +25,7 @@ import org.springframework.messaging.MessageChannel; ...@@ -25,6 +25,7 @@ import org.springframework.messaging.MessageChannel;
* carry an additional header "metricName" with the name of the metric in it. * carry an additional header "metricName" with the name of the metric in it.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see MetricWriterMessageHandler * @see MetricWriterMessageHandler
*/ */
public class MessageChannelMetricWriter implements MetricWriter { public class MessageChannelMetricWriter implements MetricWriter {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; ...@@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric;
* Basic strategy for write operations on {@link Metric} data. * Basic strategy for write operations on {@link Metric} data.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see GaugeWriter * @see GaugeWriter
* @see CounterWriter * @see CounterWriter
*/ */
......
...@@ -29,6 +29,7 @@ import org.springframework.messaging.MessagingException; ...@@ -29,6 +29,7 @@ import org.springframework.messaging.MessagingException;
* {@link MetricWriter}. * {@link MetricWriter}.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @see MessageChannelMetricWriter * @see MessageChannelMetricWriter
*/ */
public final class MetricWriterMessageHandler implements MessageHandler { public final class MetricWriterMessageHandler implements MessageHandler {
......
...@@ -31,6 +31,7 @@ import org.springframework.util.ClassUtils; ...@@ -31,6 +31,7 @@ import org.springframework.util.ClassUtils;
* *
* @author Dave Syer * @author Dave Syer
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public class AuthenticationAuditListener extends AbstractAuthenticationAuditListener { public class AuthenticationAuditListener extends AbstractAuthenticationAuditListener {
......
...@@ -29,6 +29,7 @@ import org.springframework.security.access.event.AuthorizationFailureEvent; ...@@ -29,6 +29,7 @@ import org.springframework.security.access.event.AuthorizationFailureEvent;
* *
* @author Dave Syer * @author Dave Syer
* @author Vedran Pavic * @author Vedran Pavic
* @since 1.0.0
*/ */
public class AuthorizationAuditListener extends AbstractAuthorizationAuditListener { public class AuthorizationAuditListener extends AbstractAuthorizationAuditListener {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -28,6 +28,7 @@ import java.util.Map; ...@@ -28,6 +28,7 @@ import java.util.Map;
* *
* @author Dave Syer * @author Dave Syer
* @author Olivier Bourgain * @author Olivier Bourgain
* @since 1.0.0
*/ */
public class InMemoryTraceRepository implements TraceRepository { public class InMemoryTraceRepository implements TraceRepository {
......
/* /*
* Copyright 2012-2013 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import org.springframework.util.Assert; ...@@ -26,6 +26,7 @@ import org.springframework.util.Assert;
* information. Can be used for analyzing contextual information such as HTTP headers. * information. Can be used for analyzing contextual information such as HTTP headers.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public final class Trace { public final class Trace {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -23,6 +23,7 @@ import java.util.Map; ...@@ -23,6 +23,7 @@ import java.util.Map;
* A repository for {@link Trace}s. * A repository for {@link Trace}s.
* *
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
*/ */
public interface TraceRepository { public interface TraceRepository {
......
...@@ -54,6 +54,7 @@ import org.springframework.web.filter.OncePerRequestFilter; ...@@ -54,6 +54,7 @@ import org.springframework.web.filter.OncePerRequestFilter;
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Venil Noronha * @author Venil Noronha
* @author Madhura Bhave * @author Madhura Bhave
* @since 1.0.0
*/ */
public class WebRequestTraceFilter extends OncePerRequestFilter implements Ordered { public class WebRequestTraceFilter extends OncePerRequestFilter implements Ordered {
......
...@@ -47,6 +47,7 @@ import org.springframework.util.StringUtils; ...@@ -47,6 +47,7 @@ import org.springframework.util.StringUtils;
* @author Phillip Webb * @author Phillip Webb
* @author Dave Syer * @author Dave Syer
* @author Oliver Gierke * @author Oliver Gierke
* @since 1.0.0
*/ */
public abstract class AutoConfigurationPackages { public abstract class AutoConfigurationPackages {
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import java.lang.annotation.Target; ...@@ -26,6 +26,7 @@ import java.lang.annotation.Target;
* after other specified auto-configuration classes. * after other specified auto-configuration classes.
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.0.0
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE }) @Target({ ElementType.TYPE })
......
/* /*
* Copyright 2012-2015 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -26,6 +26,7 @@ import java.lang.annotation.Target; ...@@ -26,6 +26,7 @@ import java.lang.annotation.Target;
* before other specified auto-configuration classes. * before other specified auto-configuration classes.
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.0.0
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE }) @Target({ ElementType.TYPE })
......
/* /*
* Copyright 2012-2017 the original author or authors. * Copyright 2012-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -66,6 +66,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader; ...@@ -66,6 +66,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 1.0.0
* @see ConditionalOnBean * @see ConditionalOnBean
* @see ConditionalOnMissingBean * @see ConditionalOnMissingBean
* @see ConditionalOnClass * @see ConditionalOnClass
......
...@@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata; ...@@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata;
* @author Dave Syer * @author Dave Syer
* @author Phillip Webb * @author Phillip Webb
* @author Eddú Meléndez * @author Eddú Meléndez
* @since 1.0.0
* @deprecated as of 1.5 in favor of * @deprecated as of 1.5 in favor of
* {@link org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration} * {@link org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration}
*/ */
......
...@@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata; ...@@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Dave Syer * @author Dave Syer
* @since 1.0.0
* @deprecated as of 1.5 in favor of * @deprecated as of 1.5 in favor of
* {@link org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration} * {@link org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration}
*/ */
......
...@@ -44,7 +44,6 @@ import org.springframework.core.type.classreading.MetadataReaderFactory; ...@@ -44,7 +44,6 @@ import org.springframework.core.type.classreading.MetadataReaderFactory;
* {@link ConfigurationClassPostProcessor} and Spring Boot. * {@link ConfigurationClassPostProcessor} and Spring Boot.
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0
*/ */
class SharedMetadataReaderFactoryContextInitializer class SharedMetadataReaderFactoryContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> { implements ApplicationContextInitializer<ConfigurableApplicationContext> {
......
...@@ -33,7 +33,6 @@ import org.springframework.context.annotation.Configuration; ...@@ -33,7 +33,6 @@ import org.springframework.context.annotation.Configuration;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Josh Thornhill * @author Josh Thornhill
* @since 1.2.0
*/ */
@Configuration @Configuration
@ConditionalOnClass(EnableRabbit.class) @ConditionalOnClass(EnableRabbit.class)
......
...@@ -77,6 +77,7 @@ import org.springframework.util.ReflectionUtils; ...@@ -77,6 +77,7 @@ import org.springframework.util.ReflectionUtils;
* @author Josh Long * @author Josh Long
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Gary Russell * @author Gary Russell
* @since 1.0.0
*/ */
@Configuration @Configuration
@ConditionalOnClass({ RabbitTemplate.class, Channel.class }) @ConditionalOnClass({ RabbitTemplate.class, Channel.class })
......
...@@ -36,6 +36,7 @@ import org.springframework.util.StringUtils; ...@@ -36,6 +36,7 @@ import org.springframework.util.StringUtils;
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Josh Thornhill * @author Josh Thornhill
* @author Gary Russell * @author Gary Russell
* @since 1.0.0
*/ */
@ConfigurationProperties(prefix = "spring.rabbitmq") @ConfigurationProperties(prefix = "spring.rabbitmq")
public class RabbitProperties { public class RabbitProperties {
......
...@@ -36,6 +36,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy; ...@@ -36,6 +36,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
* *
* @author Dave Syer * @author Dave Syer
* @author Josh Long * @author Josh Long
* @since 1.0.0
* @see EnableAspectJAutoProxy * @see EnableAspectJAutoProxy
*/ */
@Configuration @Configuration
......
...@@ -42,6 +42,7 @@ import org.springframework.util.StringUtils; ...@@ -42,6 +42,7 @@ import org.springframework.util.StringUtils;
* @author Dave Syer * @author Dave Syer
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Kazuki Shimizu * @author Kazuki Shimizu
* @since 1.0.0
*/ */
public class BasicBatchConfigurer implements BatchConfigurer { public class BasicBatchConfigurer implements BatchConfigurer {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment