Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
247685e9
Commit
247685e9
authored
Apr 26, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing `@Documented`
Closes gh-5786
parent
568d716c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
ConditionalOnEnabledEndpoint.java
.../boot/actuate/condition/ConditionalOnEnabledEndpoint.java
+3
-1
ConditionalOnExpression.java
...boot/autoconfigure/condition/ConditionalOnExpression.java
+4
-2
ConditionalOnProperty.java
...k/boot/autoconfigure/condition/ConditionalOnProperty.java
+4
-2
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/condition/ConditionalOnEnabledEndpoint.java
View file @
247685e9
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
boot
.
actuate
.
condition
;
package
org
.
springframework
.
boot
.
actuate
.
condition
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
...
@@ -33,9 +34,10 @@ import org.springframework.context.annotation.Conditional;
...
@@ -33,9 +34,10 @@ import org.springframework.context.annotation.Conditional;
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 1.2.4
* @since 1.2.4
*/
*/
@Conditional
(
OnEnabledEndpointCondition
.
class
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
({
ElementType
.
METHOD
,
ElementType
.
TYPE
})
@Target
({
ElementType
.
METHOD
,
ElementType
.
TYPE
})
@Conditional
(
OnEnabledEndpointCondition
.
class
)
@Documented
public
@interface
ConditionalOnEnabledEndpoint
{
public
@interface
ConditionalOnEnabledEndpoint
{
/**
/**
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnExpression.java
View file @
247685e9
/*
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
6
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.
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
boot
.
autoconfigure
.
condition
;
package
org
.
springframework
.
boot
.
autoconfigure
.
condition
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
...
@@ -29,9 +30,10 @@ import org.springframework.context.annotation.Conditional;
...
@@ -29,9 +30,10 @@ import org.springframework.context.annotation.Conditional;
*
*
* @author Dave Syer
* @author Dave Syer
*/
*/
@Conditional
(
OnExpressionCondition
.
class
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
({
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Target
({
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Documented
@Conditional
(
OnExpressionCondition
.
class
)
public
@interface
ConditionalOnExpression
{
public
@interface
ConditionalOnExpression
{
/**
/**
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java
View file @
247685e9
/*
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
6
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.
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
package
org
.
springframework
.
boot
.
autoconfigure
.
condition
;
package
org
.
springframework
.
boot
.
autoconfigure
.
condition
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
...
@@ -76,9 +77,10 @@ import org.springframework.core.env.Environment;
...
@@ -76,9 +77,10 @@ import org.springframework.core.env.Environment;
* @author Phillip Webb
* @author Phillip Webb
* @since 1.1.0
* @since 1.1.0
*/
*/
@Conditional
(
OnPropertyCondition
.
class
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Target
({
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Target
({
ElementType
.
TYPE
,
ElementType
.
METHOD
})
@Documented
@Conditional
(
OnPropertyCondition
.
class
)
public
@interface
ConditionalOnProperty
{
public
@interface
ConditionalOnProperty
{
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment