Use consistent javadoc style for annotation links
Closes gh-13920
This commit is contained in:
@@ -26,7 +26,8 @@ import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
|
||||
import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension;
|
||||
|
||||
/**
|
||||
* Identifies a type as being a Cloud Foundry specific extension for an {@link Endpoint}.
|
||||
* Identifies a type as being a Cloud Foundry specific extension for an
|
||||
* {@link Endpoint @Endpoint}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Madhura Bhave
|
||||
|
||||
@@ -28,8 +28,8 @@ import org.springframework.boot.actuate.health.ReactiveHealthEndpointWebExtensio
|
||||
import org.springframework.boot.actuate.health.ShowDetails;
|
||||
|
||||
/**
|
||||
* Reactive {@link EndpointExtension} for the {@link HealthEndpoint} that always exposes
|
||||
* full health details.
|
||||
* Reactive {@link EndpointExtension @EndpointExtension} for the {@link HealthEndpoint}
|
||||
* that always exposes full health details.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -26,8 +26,8 @@ import org.springframework.boot.actuate.health.HealthEndpointWebExtension;
|
||||
import org.springframework.boot.actuate.health.ShowDetails;
|
||||
|
||||
/**
|
||||
* {@link EndpointExtension} for the {@link HealthEndpoint} that always exposes full
|
||||
* health details.
|
||||
* {@link EndpointExtension @EndpointExtension} for the {@link HealthEndpoint} that always
|
||||
* exposes full health details.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -23,8 +23,8 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.boot.actuate.info.InfoEndpoint;
|
||||
|
||||
/**
|
||||
* {@link EndpointExtension} for the {@link InfoEndpoint} that always exposes full git
|
||||
* details.
|
||||
* {@link EndpointExtension @EndpointExtension} for the {@link InfoEndpoint} that always
|
||||
* exposes full git details.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
* @since 2.2.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -42,7 +42,7 @@ import org.springframework.util.MultiValueMap;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose the {@link ConditionEvaluationReport}.
|
||||
* {@link Endpoint @Endpoint} to expose the {@link ConditionEvaluationReport}.
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -27,7 +27,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for {@link Endpoint} support.
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for {@link Endpoint @Endpoint}
|
||||
* support.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -33,7 +33,8 @@ import org.springframework.util.Assert;
|
||||
import org.springframework.util.ClassUtils;
|
||||
|
||||
/**
|
||||
* Base class for {@link Endpoint} related {@link SpringBootCondition} implementations.
|
||||
* Base class for {@link Endpoint @Endpoint} related {@link SpringBootCondition}
|
||||
* implementations.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -28,9 +28,9 @@ import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that checks whether an endpoint is enabled or not. Matches
|
||||
* according to the endpoints specific {@link Environment} property, falling back to
|
||||
* {@code management.endpoints.enabled-by-default} or failing that
|
||||
* {@link Conditional @Conditional} that checks whether an endpoint is enabled or not.
|
||||
* Matches according to the endpoints specific {@link Environment} property, falling back
|
||||
* to {@code management.endpoints.enabled-by-default} or failing that
|
||||
* {@link Endpoint#enableByDefault()}.
|
||||
* <p>
|
||||
* When placed on a {@code @Bean} method, the endpoint defaults to the return type of the
|
||||
@@ -99,7 +99,8 @@ public @interface ConditionalOnEnabledEndpoint {
|
||||
|
||||
/**
|
||||
* The endpoint type that should be checked. Inferred when the return type of the
|
||||
* {@code @Bean} method is either an {@link Endpoint} or an {@link EndpointExtension}.
|
||||
* {@code @Bean} method is either an {@link Endpoint @Endpoint} or an
|
||||
* {@link EndpointExtension @EndpointExtension}.
|
||||
* @return the endpoint type to check
|
||||
* @since 2.0.6
|
||||
*/
|
||||
|
||||
@@ -28,11 +28,12 @@ import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that checks whether an endpoint is exposed or not. Matches
|
||||
* according to the endpoint exposure configuration {@link Environment} properties. This
|
||||
* is designed as a companion annotation to {@link ConditionalOnEnabledEndpoint}.
|
||||
* {@link Conditional @Conditional} that checks whether an endpoint is exposed or not.
|
||||
* Matches according to the endpoint exposure configuration {@link Environment}
|
||||
* properties. This is designed as a companion annotation to
|
||||
* {@link ConditionalOnEnabledEndpoint @ConditionalOnEnabledEndpoint}.
|
||||
* <p>
|
||||
* For a given {@link Endpoint}, the condition will match if:
|
||||
* For a given {@link Endpoint @Endpoint}, the condition will match if:
|
||||
* <ul>
|
||||
* <li>{@code "management.endpoints.web.exposure.*"} expose this endpoint</li>
|
||||
* <li>or if JMX is enabled and {@code "management.endpoints.jmx.exposure.*"} expose this
|
||||
@@ -108,7 +109,8 @@ public @interface ConditionalOnExposedEndpoint {
|
||||
|
||||
/**
|
||||
* The endpoint type that should be checked. Inferred when the return type of the
|
||||
* {@code @Bean} method is either an {@link Endpoint} or an {@link EndpointExtension}.
|
||||
* {@code @Bean} method is either an {@link Endpoint @Endpoint} or an
|
||||
* {@link EndpointExtension @EndpointExtension}.
|
||||
* @return the endpoint type to check
|
||||
*/
|
||||
Class<?> endpoint() default Void.class;
|
||||
|
||||
@@ -49,7 +49,8 @@ import org.springframework.core.env.Environment;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for JMX {@link Endpoint} support.
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for JMX {@link Endpoint @Endpoint}
|
||||
* support.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -34,7 +34,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.DispatcherServlet;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for servlet endpoints.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for servlet
|
||||
* endpoints.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -54,7 +54,8 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for web {@link Endpoint} support.
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for web {@link Endpoint @Endpoint}
|
||||
* support.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -44,7 +44,8 @@ import org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Jersey {@link Endpoint} concerns.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Jersey
|
||||
* {@link Endpoint @Endpoint} concerns.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -44,7 +44,8 @@ import org.springframework.http.server.reactive.HttpHandler;
|
||||
import org.springframework.web.reactive.DispatcherHandler;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Reactive {@link Endpoint} concerns.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Reactive
|
||||
* {@link Endpoint @Endpoint} concerns.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -44,7 +44,8 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.web.servlet.DispatcherServlet;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Spring MVC {@link Endpoint} concerns.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Spring MVC
|
||||
* {@link Endpoint @Endpoint} concerns.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,9 +25,9 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that checks whether or not a default health indicator is enabled.
|
||||
* Matches if the value of the {@code management.health.<name>.enabled} property is
|
||||
* {@code true}. Otherwise, matches if the value of the
|
||||
* {@link Conditional @Conditional} that checks whether or not a default health indicator
|
||||
* is enabled. Matches if the value of the {@code management.health.<name>.enabled}
|
||||
* property is {@code true}. Otherwise, matches if the value of the
|
||||
* {@code management.health.defaults.enabled} property is {@code true} or if it is not
|
||||
* configured.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,9 +25,9 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that checks whether or not a default info contributor is enabled.
|
||||
* Matches if the value of the {@code management.info.<name>.enabled} property is
|
||||
* {@code true}. Otherwise, matches if the value of the
|
||||
* {@link Conditional @Conditional} that checks whether or not a default info contributor
|
||||
* is enabled. Matches if the value of the {@code management.info.<name>.enabled} property
|
||||
* is {@code true}. Otherwise, matches if the value of the
|
||||
* {@code management.info.defaults.enabled} property is {@code true} or if it is not
|
||||
* configured.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.actuate.endpoint.web.EndpointServlet;
|
||||
import org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpoint;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose a Jolokia {@link AgentServlet}.
|
||||
* {@link Endpoint @Endpoint} to expose a Jolokia {@link AgentServlet}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,8 @@ import java.util.Map;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Micrometer-based metrics.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring
|
||||
* Micrometer-based metrics.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Alexander Abramov
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring AppOptics metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring AppOptics
|
||||
* metrics export.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Atlas metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Atlas metrics
|
||||
* export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Datadog metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Datadog
|
||||
* metrics export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Dynatrace metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Dynatrace
|
||||
* metrics export.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Elastic metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Elastic
|
||||
* metrics export.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,7 +24,8 @@ import info.ganglia.gmetric4j.gmetric.GMetric;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Ganglia metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Ganglia
|
||||
* metrics export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,7 +24,8 @@ import io.micrometer.graphite.GraphiteProtocol;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Graphite metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Graphite
|
||||
* metrics export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,7 +24,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Humio metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Humio metrics
|
||||
* export.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Influx metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Influx metrics
|
||||
* export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -21,7 +21,8 @@ import java.time.Duration;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring JMX metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring JMX metrics
|
||||
* export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring KairosDB metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring KairosDB
|
||||
* metrics export.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,7 +20,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring New Relic metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring New Relic
|
||||
* metrics export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -24,7 +24,8 @@ import org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPush
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring metrics export to Prometheus.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring metrics export
|
||||
* to Prometheus.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring metrics export to SignalFX.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring metrics export
|
||||
* to SignalFX.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -24,8 +24,8 @@ import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring metrics export to a
|
||||
* {@link SimpleMeterRegistry}.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring metrics export
|
||||
* to a {@link SimpleMeterRegistry}.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,8 @@ import io.micrometer.statsd.StatsdFlavor;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring StatsD metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring StatsD metrics
|
||||
* export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,8 @@ import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* {@link ConfigurationProperties} for configuring Wavefront metrics export.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} for configuring Wavefront
|
||||
* metrics export.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -35,8 +35,9 @@ import org.springframework.core.annotation.Order;
|
||||
* {@code org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration}
|
||||
* key.
|
||||
* <p>
|
||||
* {@code ManagementContextConfiguration} classes can be ordered using {@link Order}.
|
||||
* Ordering by implementing {@link Ordered} is not supported and will have no effect.
|
||||
* {@code ManagementContextConfiguration} classes can be ordered using
|
||||
* {@link Order @Order}. Ordering by implementing {@link Ordered} is not supported and
|
||||
* will have no effect.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -27,8 +27,9 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Jersey infrastructure when a separate
|
||||
* management context with a web server running on a different port is required.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Jersey
|
||||
* infrastructure when a separate management context with a web server running on a
|
||||
* different port is required.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
*/
|
||||
|
||||
@@ -31,8 +31,8 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Jersey infrastructure when the management
|
||||
* context is the same as the main application context.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Jersey
|
||||
* infrastructure when the management context is the same as the main application context.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,8 +35,9 @@ import org.springframework.web.reactive.config.EnableWebFlux;
|
||||
import org.springframework.web.server.adapter.WebHttpHandlerBuilder;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for reactive web infrastructure when a separate
|
||||
* management context with a web server running on a different port is required.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for reactive web
|
||||
* infrastructure when a separate management context with a web server running on a
|
||||
* different port is required.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that matches based on the configuration of the management port.
|
||||
* {@link Conditional @Conditional} that matches based on the configuration of the
|
||||
* management port.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,9 +27,9 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.context.request.ServletWebRequest;
|
||||
|
||||
/**
|
||||
* {@link Controller} for handling "/error" path when the management servlet is in a child
|
||||
* context. The regular {@link ErrorController} should be available there but because of
|
||||
* the way the handler mappings are set up it will not be detected.
|
||||
* {@link Controller @Controller} for handling "/error" path when the management servlet
|
||||
* is in a child context. The regular {@link ErrorController} should be available there
|
||||
* but because of the way the handler mappings are set up it will not be detected.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -57,8 +57,9 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Servlet web endpoint infrastructure when a
|
||||
* separate management context with a web server running on a different port is required.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Servlet web
|
||||
* endpoint infrastructure when a separate management context with a web server running on
|
||||
* a different port is required.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,8 +35,9 @@ import org.springframework.web.servlet.DispatcherServlet;
|
||||
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
||||
|
||||
/**
|
||||
* {@link ManagementContextConfiguration} for Spring MVC infrastructure when a separate
|
||||
* management context with a web server running on a different port is required.
|
||||
* {@link ManagementContextConfiguration @ManagementContextConfiguration} for Spring MVC
|
||||
* infrastructure when a separate management context with a web server running on a
|
||||
* different port is required.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for {@link ConditionalOnEnabledEndpoint}.
|
||||
* Tests for {@link ConditionalOnEnabledEndpoint @ConditionalOnEnabledEndpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for {@link ConditionalOnExposedEndpoint}.
|
||||
* Tests for {@link ConditionalOnExposedEndpoint @ConditionalOnExposedEndpoint}.
|
||||
*
|
||||
* @author Brian Clozel
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,7 +26,7 @@ import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose audit events.
|
||||
* {@link Endpoint @Endpoint} to expose audit events.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,8 +29,8 @@ import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose details of an application's beans, grouped by application
|
||||
* context.
|
||||
* {@link Endpoint @Endpoint} to expose details of an application's beans, grouped by
|
||||
* application context.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -32,7 +32,7 @@ import org.springframework.cache.CacheManager;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose available {@link Cache caches}.
|
||||
* {@link Endpoint @Endpoint} to expose available {@link Cache caches}.
|
||||
*
|
||||
* @author Johannes Edmeier
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExten
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* {@link EndpointWebExtension} for the {@link CachesEndpoint}.
|
||||
* {@link EndpointWebExtension @EndpointWebExtension} for the {@link CachesEndpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,7 @@ import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to shutdown the {@link ApplicationContext}.
|
||||
* {@link Endpoint @Endpoint} to shutdown the {@link ApplicationContext}.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Christian Dupuis
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -56,8 +56,8 @@ import org.springframework.util.ClassUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose application properties from {@link ConfigurationProperties}
|
||||
* annotated beans.
|
||||
* {@link Endpoint @Endpoint} to expose application properties from
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} annotated beans.
|
||||
*
|
||||
* <p>
|
||||
* To protect sensitive information from being exposed, certain property values are masked
|
||||
@@ -166,7 +166,8 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
|
||||
/**
|
||||
* Configure Jackson's {@link ObjectMapper} to be used to serialize the
|
||||
* {@link ConfigurationProperties} objects into a {@link Map} structure.
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} objects into a {@link Map}
|
||||
* structure.
|
||||
* @param mapper the object mapper
|
||||
*/
|
||||
protected void configureObjectMapper(ObjectMapper mapper) {
|
||||
@@ -203,7 +204,8 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract configuration prefix from {@link ConfigurationProperties} annotation.
|
||||
* Extract configuration prefix from
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} annotation.
|
||||
* @param context the application context
|
||||
* @param beanFactoryMetaData the bean factory meta-data
|
||||
* @param beanName the bean name
|
||||
@@ -290,7 +292,7 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
|
||||
/**
|
||||
* {@link SimpleBeanPropertyFilter} for serialization of
|
||||
* {@link ConfigurationProperties} beans. The filter hides:
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} beans. The filter hides:
|
||||
*
|
||||
* <ul>
|
||||
* <li>Properties that have a name starting with '$$'.
|
||||
@@ -412,8 +414,9 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
}
|
||||
|
||||
/**
|
||||
* A description of an application's {@link ConfigurationProperties} beans. Primarily
|
||||
* intended for serialization to JSON.
|
||||
* A description of an application's
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} beans. Primarily intended
|
||||
* for serialization to JSON.
|
||||
*/
|
||||
public static final class ApplicationConfigurationProperties {
|
||||
|
||||
@@ -431,8 +434,9 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
}
|
||||
|
||||
/**
|
||||
* A description of an application context's {@link ConfigurationProperties} beans.
|
||||
* Primarily intended for serialization to JSON.
|
||||
* A description of an application context's
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} beans. Primarily intended
|
||||
* for serialization to JSON.
|
||||
*/
|
||||
public static final class ContextConfigurationProperties {
|
||||
|
||||
@@ -458,8 +462,8 @@ public class ConfigurationPropertiesReportEndpoint implements ApplicationContext
|
||||
}
|
||||
|
||||
/**
|
||||
* A description of a {@link ConfigurationProperties} bean. Primarily intended for
|
||||
* serialization to JSON.
|
||||
* A description of a {@link ConfigurationProperties @ConfigurationProperties} bean.
|
||||
* Primarily intended for serialization to JSON.
|
||||
*/
|
||||
public static final class ConfigurationPropertiesBeanDescriptor {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Identifies a method on an {@link Endpoint} as being a delete operation.
|
||||
* Identifies a method on an {@link Endpoint @Endpoint} as being a delete operation.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -479,7 +479,7 @@ public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>, O exten
|
||||
}
|
||||
|
||||
/**
|
||||
* Information about an {@link EndpointExtension EndpointExtension} bean.
|
||||
* Information about an {@link EndpointExtension @EndpointExtension} bean.
|
||||
*/
|
||||
private static class ExtensionBean {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Identifies a method on an {@link Endpoint} as being a read operation.
|
||||
* Identifies a method on an {@link Endpoint @Endpoint} as being a read operation.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,8 +23,8 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* A {@code Selector} can be used on a parameter of an {@link Endpoint} method to indicate
|
||||
* that the parameter is used to select a subset of the endpoint's data.
|
||||
* A {@code Selector} can be used on a parameter of an {@link Endpoint @Endpoint} method
|
||||
* to indicate that the parameter is used to select a subset of the endpoint's data.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Identifies a method on an {@link Endpoint} as being a write operation.
|
||||
* Identifies a method on an {@link Endpoint @Endpoint} as being a write operation.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,7 @@ import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* Identifies a type as being a JMX-specific extension of an {@link Endpoint}.
|
||||
* Identifies a type as being a JMX-specific extension of an {@link Endpoint @Endpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,8 +20,8 @@ import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExten
|
||||
|
||||
/**
|
||||
* A {@code WebEndpointResponse} can be returned by an operation on a
|
||||
* {@link EndpointWebExtension} to provide additional, web-specific information such as
|
||||
* the HTTP status code.
|
||||
* {@link EndpointWebExtension @EndpointWebExtension} to provide additional, web-specific
|
||||
* information such as the HTTP status code.
|
||||
*
|
||||
* @param <T> the type of the response body
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,7 @@ import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
|
||||
/**
|
||||
* Identifies a type as being a Web-specific extension of an {@link Endpoint}.
|
||||
* Identifies a type as being a Web-specific extension of an {@link Endpoint @Endpoint}.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -33,7 +33,8 @@ public interface ExposableControllerEndpoint
|
||||
extends ExposableEndpoint<Operation>, PathMappedEndpoint {
|
||||
|
||||
/**
|
||||
* Return the source controller that contains {@link RequestMapping} methods.
|
||||
* Return the source controller that contains {@link RequestMapping @RequestMapping}
|
||||
* methods.
|
||||
* @return the source controller
|
||||
*/
|
||||
Object getController();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -49,7 +49,8 @@ import org.springframework.util.StringUtils;
|
||||
import org.springframework.util.SystemPropertyUtils;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose {@link ConfigurableEnvironment environment} information.
|
||||
* {@link Endpoint @Endpoint} to expose {@link ConfigurableEnvironment environment}
|
||||
* information.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExten
|
||||
import org.springframework.boot.actuate.env.EnvironmentEndpoint.EnvironmentEntryDescriptor;
|
||||
|
||||
/**
|
||||
* {@link EndpointWebExtension} for the {@link EnvironmentEndpoint}.
|
||||
* {@link EndpointWebExtension @EndpointWebExtension} for the {@link EnvironmentEndpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -34,7 +34,7 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose flyway info.
|
||||
* {@link Endpoint @Endpoint} to expose flyway info.
|
||||
*
|
||||
* @author Eddú Meléndez
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.actuate.endpoint.annotation.Selector;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose application health information.
|
||||
* {@link Endpoint @Endpoint} to expose application health information.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Christian Dupuis
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.actuate.endpoint.web.WebEndpointResponse;
|
||||
import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension;
|
||||
|
||||
/**
|
||||
* {@link EndpointWebExtension} for the {@link HealthEndpoint}.
|
||||
* {@link EndpointWebExtension @EndpointWebExtension} for the {@link HealthEndpoint}.
|
||||
*
|
||||
* @author Christian Dupuis
|
||||
* @author Dave Syer
|
||||
|
||||
@@ -25,7 +25,8 @@ import org.springframework.boot.actuate.endpoint.web.WebEndpointResponse;
|
||||
import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension;
|
||||
|
||||
/**
|
||||
* Reactive {@link EndpointWebExtension} for the {@link HealthEndpoint}.
|
||||
* Reactive {@link EndpointWebExtension @EndpointWebExtension} for the
|
||||
* {@link HealthEndpoint}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose arbitrary application information.
|
||||
* {@link Endpoint @Endpoint} to expose arbitrary application information.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Meang Akira Tanaka
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import org.springframework.integration.graph.Graph;
|
||||
import org.springframework.integration.graph.IntegrationGraphServer;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose the Spring Integration graph.
|
||||
* {@link Endpoint @Endpoint} to expose the Spring Integration graph.
|
||||
*
|
||||
* @author Tim Ysewyn
|
||||
* @since 2.1.0
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.util.Assert;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose liquibase info.
|
||||
* {@link Endpoint @Endpoint} to expose liquibase info.
|
||||
*
|
||||
* @author Eddú Meléndez
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.core.io.FileSystemResource;
|
||||
import org.springframework.core.io.Resource;
|
||||
|
||||
/**
|
||||
* Web {@link Endpoint} that provides access to an application's log file.
|
||||
* Web {@link Endpoint @Endpoint} that provides access to an application's log file.
|
||||
*
|
||||
* @author Johannes Edmeier
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -35,7 +35,7 @@ import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose a collection of {@link LoggerConfiguration}s.
|
||||
* {@link Endpoint @Endpoint} to expose a collection of {@link LoggerConfiguration}s.
|
||||
*
|
||||
* @author Ben Hale
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -47,7 +47,7 @@ import org.springframework.util.ClassUtils;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
|
||||
/**
|
||||
* Web {@link Endpoint} to expose heap dumps.
|
||||
* Web {@link Endpoint @Endpoint} to expose heap dumps.
|
||||
*
|
||||
* @author Lari Hotari
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
|
||||
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose thread info.
|
||||
* {@link Endpoint @Endpoint} to expose thread info.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -41,7 +41,7 @@ import org.springframework.boot.actuate.endpoint.annotation.Selector;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* An {@link Endpoint} for exposing the metrics held by a {@link MeterRegistry}.
|
||||
* An {@link Endpoint @Endpoint} for exposing the metrics held by a {@link MeterRegistry}.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -28,8 +28,8 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} that outputs metrics in a format that can be scraped by the Prometheus
|
||||
* server.
|
||||
* {@link Endpoint @Endpoint} that outputs metrics in a format that can be scraped by the
|
||||
* Prometheus server.
|
||||
*
|
||||
* @author Jon Schneider
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -38,7 +38,8 @@ import org.springframework.web.servlet.HandlerInterceptor;
|
||||
|
||||
/**
|
||||
* A {@link HandlerInterceptor} that supports Micrometer's long task timers configured on
|
||||
* a handler using {@link Timed} with {@link Timed#longTask()} set to {@code true}.
|
||||
* a handler using {@link Timed @Timed} with {@link Timed#longTask() longTask} set to
|
||||
* {@code true}.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.7
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,7 +30,7 @@ import org.springframework.session.FindByIndexNameSessionRepository;
|
||||
import org.springframework.session.Session;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose a user's {@link Session}s.
|
||||
* {@link Endpoint @Endpoint} to expose a user's {@link Session}s.
|
||||
*
|
||||
* @author Vedran Pavic
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose {@link HttpTrace} information.
|
||||
* {@link Endpoint @Endpoint} to expose {@link HttpTrace} information.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
|
||||
/**
|
||||
* {@link Endpoint} to expose HTTP request mappings.
|
||||
* {@link Endpoint @Endpoint} to expose HTTP request mappings.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.0.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -33,8 +33,9 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Sort {@link EnableAutoConfiguration auto-configuration} classes into priority order by
|
||||
* reading {@link AutoConfigureOrder}, {@link AutoConfigureBefore} and
|
||||
* {@link AutoConfigureAfter} annotations (without loading classes).
|
||||
* reading {@link AutoConfigureOrder @AutoConfigureOrder},
|
||||
* {@link AutoConfigureBefore @AutoConfigureBefore} and
|
||||
* {@link AutoConfigureAfter @AutoConfigureAfter} annotations (without loading classes).
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,9 +27,9 @@ import org.springframework.core.Ordered;
|
||||
import org.springframework.core.annotation.Order;
|
||||
|
||||
/**
|
||||
* Auto-configuration specific variant of Spring Framework's {@link Order} annotation.
|
||||
* Allows auto-configuration classes to be ordered among themselves without affecting the
|
||||
* order of configuration classes passed to
|
||||
* Auto-configuration specific variant of Spring Framework's {@link Order @Order}
|
||||
* annotation. Allows auto-configuration classes to be ordered among themselves without
|
||||
* affecting the order of configuration classes passed to
|
||||
* {@link AnnotationConfigApplicationContext#register(Class...)}.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -41,8 +41,9 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
|
||||
* {@link TomcatServletWebServerFactory} (unless you have defined your own
|
||||
* {@link ServletWebServerFactory} bean).
|
||||
* <p>
|
||||
* When using {@link SpringBootApplication}, the auto-configuration of the context is
|
||||
* automatically enabled and adding this annotation has therefore no additional effect.
|
||||
* When using {@link SpringBootApplication @SpringBootApplication}, the auto-configuration
|
||||
* of the context is automatically enabled and adding this annotation has therefore no
|
||||
* additional effect.
|
||||
* <p>
|
||||
* Auto-configuration tries to be as intelligent as possible and will back-away as you
|
||||
* define more of your own configuration. You can always manually {@link #exclude()} any
|
||||
@@ -58,10 +59,11 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
|
||||
* not using {@code @SpringBootApplication}) in a root package so that all sub-packages
|
||||
* and classes can be searched.
|
||||
* <p>
|
||||
* Auto-configuration classes are regular Spring {@link Configuration} beans. They are
|
||||
* located using the {@link SpringFactoriesLoader} mechanism (keyed against this class).
|
||||
* Generally auto-configuration beans are {@link Conditional @Conditional} beans (most
|
||||
* often using {@link ConditionalOnClass @ConditionalOnClass} and
|
||||
* Auto-configuration classes are regular Spring {@link Configuration @Configuration}
|
||||
* beans. They are located using the {@link SpringFactoriesLoader} mechanism (keyed
|
||||
* against this class). Generally auto-configuration beans are
|
||||
* {@link Conditional @Conditional} beans (most often using
|
||||
* {@link ConditionalOnClass @ConditionalOnClass} and
|
||||
* {@link ConditionalOnMissingBean @ConditionalOnMissingBean} annotations).
|
||||
*
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -39,7 +39,8 @@ import org.springframework.util.MultiValueMap;
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* Variant of {@link AutoConfigurationImportSelector} for {@link ImportAutoConfiguration}.
|
||||
* Variant of {@link AutoConfigurationImportSelector} for
|
||||
* {@link ImportAutoConfiguration @ImportAutoConfiguration}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -28,8 +28,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
/**
|
||||
* {@link org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* Auto-configuration} for Spring's AOP support. Equivalent to enabling
|
||||
* {@link org.springframework.context.annotation.EnableAspectJAutoProxy} in your
|
||||
* configuration.
|
||||
* {@link EnableAspectJAutoProxy @EnableAspectJAutoProxy} in your configuration.
|
||||
* <p>
|
||||
* The configuration will not be activated if {@literal spring.aop.auto=false}. The
|
||||
* {@literal proxyTargetClass} attribute will be {@literal true}, by default, but can be
|
||||
|
||||
@@ -46,7 +46,8 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for the cache abstraction. Creates a
|
||||
* {@link CacheManager} if necessary when caching is enabled via {@link EnableCaching}.
|
||||
* {@link CacheManager} if necessary when caching is enabled via
|
||||
* {@link EnableCaching @EnableCaching}.
|
||||
* <p>
|
||||
* Cache store can be auto-detected or specified explicitly via configuration.
|
||||
*
|
||||
|
||||
@@ -36,8 +36,8 @@ import org.springframework.core.Ordered;
|
||||
* active.
|
||||
* <p>
|
||||
* Once in effect, the auto-configuration is the equivalent of adding the
|
||||
* {@link CloudScan} annotation in one of the configuration file. Specifically, it adds a
|
||||
* bean for each service bound to the application and one for
|
||||
* {@link CloudScan @CloudScan} annotation in one of the configuration file. Specifically,
|
||||
* it adds a bean for each service bound to the application and one for
|
||||
* {@link ApplicationInstanceInfo}.
|
||||
*
|
||||
* @author Ramnivas Laddad
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,9 +27,10 @@ import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when beans meeting all the specified requirements
|
||||
* are already contained in the {@link BeanFactory}. All the requirements must be met for
|
||||
* the condition to match, but they do not have to be met by the same bean.
|
||||
* {@link Conditional @Conditional} that only matches when beans meeting all the specified
|
||||
* requirements are already contained in the {@link BeanFactory}. All the requirements
|
||||
* must be met for the condition to match, but they do not have to be met by the same
|
||||
* bean.
|
||||
* <p>
|
||||
* When placed on a {@code @Bean} method, the bean class defaults to the return type of
|
||||
* the factory method:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified classes are on the classpath.
|
||||
* {@link Conditional @Conditional} that only matches when the specified classes are on
|
||||
* the classpath.
|
||||
* <p>
|
||||
* A {@link #value()} can be safely specified on {@code @Configuration} classes as the
|
||||
* annotation metadata is parsed by using ASM before the class is loaded. Extra care is
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,7 +26,8 @@ import org.springframework.boot.cloud.CloudPlatform;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that matches when the specified cloud platform is active.
|
||||
* {@link Conditional @Conditional} that matches when the specified cloud platform is
|
||||
* active.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
* @since 1.5.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,8 +26,8 @@ import org.springframework.boot.system.JavaVersion;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that matches based on the JVM version the application is running
|
||||
* on.
|
||||
* {@link Conditional @Conditional} that matches based on the JVM version the application
|
||||
* is running on.
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,7 +27,7 @@ import javax.naming.InitialContext;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that matches based on the availability of a JNDI
|
||||
* {@link Conditional @Conditional} that matches based on the availability of a JNDI
|
||||
* {@link InitialContext} and the ability to lookup specific locations.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -27,9 +27,10 @@ import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when no beans meeting the specified requirements
|
||||
* are already contained in the {@link BeanFactory}. None of the requirements must be met
|
||||
* for the condition to match and the requirements do not have to be met by the same bean.
|
||||
* {@link Conditional @Conditional} that only matches when no beans meeting the specified
|
||||
* requirements are already contained in the {@link BeanFactory}. None of the requirements
|
||||
* must be met for the condition to match and the requirements do not have to be met by
|
||||
* the same bean.
|
||||
* <p>
|
||||
* When placed on a {@code @Bean} method, the bean class defaults to the return type of
|
||||
* the factory method:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,8 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified classes are not on the
|
||||
* classpath.
|
||||
* {@link Conditional @Conditional} that only matches when the specified classes are not
|
||||
* on the classpath.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,8 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when the application context is a not a web
|
||||
* application context.
|
||||
* {@link Conditional @Conditional} that only matches when the application context is a
|
||||
* not a web application context.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,9 +26,9 @@ import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that checks if the specified properties have a specific value. By
|
||||
* default the properties must be present in the {@link Environment} and
|
||||
* <strong>not</strong> equal to {@code false}. The {@link #havingValue()} and
|
||||
* {@link Conditional @Conditional} that checks if the specified properties have a
|
||||
* specific value. By default the properties must be present in the {@link Environment}
|
||||
* and <strong>not</strong> equal to {@code false}. The {@link #havingValue()} and
|
||||
* {@link #matchIfMissing()} attributes allow further customizations.
|
||||
* <p>
|
||||
* The {@link #havingValue} attribute can be used to specify the value that the property
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,8 +25,8 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when the specified resources are on the
|
||||
* classpath.
|
||||
* {@link Conditional @Conditional} that only matches when the specified resources are on
|
||||
* the classpath.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,8 +26,9 @@ import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that only matches when a bean of the specified class is already
|
||||
* contained in the {@link BeanFactory} and a single candidate can be determined.
|
||||
* {@link Conditional @Conditional} that only matches when a bean of the specified class
|
||||
* is already contained in the {@link BeanFactory} and a single candidate can be
|
||||
* determined.
|
||||
* <p>
|
||||
* The condition will also match if multiple matching bean instances are already contained
|
||||
* in the {@link BeanFactory} but a primary candidate has been defined; essentially, the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,9 +25,9 @@ import java.lang.annotation.Target;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
|
||||
/**
|
||||
* {@link Conditional} that matches when the application is a web application. By default,
|
||||
* any web application will match but it can be narrowed using the {@link #type()}
|
||||
* attribute.
|
||||
* {@link Conditional @Conditional} that matches when the application is a web
|
||||
* application. By default, any web application will match but it can be narrowed using
|
||||
* the {@link #type()} attribute.
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -22,9 +22,9 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for {@link ConfigurationProperties}
|
||||
* beans. Automatically binds and validates any bean annotated with
|
||||
* {@code @ConfigurationProperties}.
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for
|
||||
* {@link ConfigurationProperties @ConfigurationProperties} beans. Automatically binds and
|
||||
* validates any bean annotated with {@code @ConfigurationProperties}.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @since 1.3.0
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user