Browse Source

Update description of property type

pull/1979/merge
Stephane Nicoll 11 years ago
parent
commit
dea1ca9855
  1. 9
      spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc

9
spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc

@ -121,9 +121,12 @@ The JSON object contained in the `properties` array can contain the following at
| The class name of the data type of the property. For example, `java.lang.String`. This | The class name of the data type of the property. For example, `java.lang.String`. This
attribute can be used to guide the user as to the types of values that they can enter. attribute can be used to guide the user as to the types of values that they can enter.
For consistency, the type of a primitive is specified using its wrapper counterpart, For consistency, the type of a primitive is specified using its wrapper counterpart,
i.e. `boolean` becomes `java.lang.Boolean`. Note that this class may be a complex type i.e. `boolean` becomes `java.lang.Boolean`. Collection types are harmonized to their
that gets converted from a String as values are bound. May be omitted if the type is interface counterpart and define the actual generic types, i.e.
not known. `java.util.HashMap<java.lang.String,java.lang.Integer>` becomes
`java.util.Map<java.lang.String,java.lang.Integer>`. Note that this class may be a
complex type that gets converted from a String as values are bound. May be omitted if
the type is not known.
|`description` |`description`
| String | String

Loading…
Cancel
Save