Class ApplicationPropertiesContributor
java.lang.Object
io.spring.initializr.generator.spring.properties.ApplicationPropertiesContributor
- All Implemented Interfaces:
ProjectContributor,org.springframework.core.Ordered
A
ProjectContributor that contributes a application.properties file to
a project.- Author:
- Stephane Nicoll, Moritz Halbritter
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontribute(Path projectRoot) Contribute additional resources to the project in the specified root directory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.spring.initializr.generator.project.contributor.ProjectContributor
getOrder
-
Constructor Details
-
ApplicationPropertiesContributor
-
-
Method Details
-
contribute
Description copied from interface:ProjectContributorContribute additional resources to the project in the specified root directory.- Specified by:
contributein interfaceProjectContributor- Parameters:
projectRoot- the root directory of the project- Throws:
IOException- if contributing a resource failed
-