Class ApplicationYamlPropertiesContributor

java.lang.Object
io.spring.initializr.generator.spring.properties.ApplicationYamlPropertiesContributor
All Implemented Interfaces:
ProjectContributor, org.springframework.core.Ordered

public class ApplicationYamlPropertiesContributor extends Object implements ProjectContributor
A ProjectContributor that contributes a application.yaml file to a project.
Author:
Sijun Yang
  • Constructor Details

    • ApplicationYamlPropertiesContributor

      public ApplicationYamlPropertiesContributor(ApplicationProperties properties)
  • Method Details

    • contribute

      public void contribute(Path projectRoot) throws IOException
      Description copied from interface: ProjectContributor
      Contribute additional resources to the project in the specified root directory.
      Specified by:
      contribute in interface ProjectContributor
      Parameters:
      projectRoot - the root directory of the project
      Throws:
      IOException - if contributing a resource failed