|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2014 the original author or authors.
|
|
|
|
|
* Copyright 2012-2017 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,10 @@ import java.lang.annotation.Target;
|
|
|
|
|
* Indicates that a field in a {@link ConfigurationProperties} object should be treated as
|
|
|
|
|
* if it were a nested type. This annotation has no bearing on the actual binding
|
|
|
|
|
* processes, but it is used by the {@code spring-boot-configuration-processor} as a hint
|
|
|
|
|
* that a field is not bound as a single value.
|
|
|
|
|
* that a field is not bound as a single value. When this is specified, a nested group is
|
|
|
|
|
* created for the field and its type is harvested.
|
|
|
|
|
* <p>
|
|
|
|
|
* This has no effect on collections and maps as these types are automatically identified.
|
|
|
|
|
*
|
|
|
|
|
* @author Stephane Nicoll
|
|
|
|
|
* @author Phillip Webb
|
|
|
|
|