Class ComposeProjectContributor
java.lang.Object
io.spring.initializr.generator.spring.container.docker.compose.ComposeProjectContributor
- All Implemented Interfaces:
ProjectContributor,org.springframework.core.Ordered
A
ProjectContributor that creates a 'compose.yaml' file through a
ComposeFile.- Author:
- Moritz Halbritter, Stephane Nicoll
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionComposeProjectContributor(ComposeFile composeFile, IndentingWriterFactory indentingWriterFactory) -
Method Summary
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
-
ComposeProjectContributor
public ComposeProjectContributor(ComposeFile composeFile, IndentingWriterFactory indentingWriterFactory)
-
-
Method Details
-
contribute
- Specified by:
contributein interfaceProjectContributor- Throws:
IOException
-