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
c5ae68a1
Commit
c5ae68a1
authored
Jul 09, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify enum provider purpose
parent
97634e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
appendix-configuration-metadata.adoc
...cs/src/main/asciidoc/appendix-configuration-metadata.adoc
+5
-4
No files found.
spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc
View file @
c5ae68a1
...
@@ -455,7 +455,9 @@ property that defines the `JspServlet` class name to use:
...
@@ -455,7 +455,9 @@ property that defines the `JspServlet` class name to use:
===== Enum
===== Enum
The **enum** provider auto-completes the values of the `Enum` class referenced via the
The **enum** provider auto-completes the values of the `Enum` class referenced via the
`target` parameter. This provider supports these parameters:
`target` parameter. This may be handy when the property has a `java.lang.String` type
because you don't want your configuration classes to rely on classes that may not be
on the classpath. This provider supports these parameters:
[cols="1,1,2,4"]
[cols="1,1,2,4"]
|===
|===
...
@@ -467,6 +469,8 @@ The **enum** provider auto-completes the values of the `Enum` class referenced v
...
@@ -467,6 +469,8 @@ The **enum** provider auto-completes the values of the `Enum` class referenced v
|The fully qualified name of the `Enum` class. This parameter is mandatory.
|The fully qualified name of the `Enum` class. This parameter is mandatory.
|===
|===
TIP: By all means, try to define the property with the `Enum` type instead as
no further hint should be required for the IDE to auto-complete the values.
The meta-data snippet below corresponds to the standard `spring.jooq.sql-dialect`
The meta-data snippet below corresponds to the standard `spring.jooq.sql-dialect`
property that defines the `SQLDialect` class name to use:
property that defines the `SQLDialect` class name to use:
...
@@ -488,9 +492,6 @@ property that defines the `SQLDialect` class name to use:
...
@@ -488,9 +492,6 @@ property that defines the `SQLDialect` class name to use:
]}
]}
----
----
TIP: This is useful when you don't want your configuration classes to rely on classes
that may not be on the classpath.
===== Logger name
===== Logger name
...
...
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