Class WebFoldersContributor

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

public class WebFoldersContributor extends Object implements ProjectContributor
A ProjectContributor that creates web-specific directories when a web-related project is detected.
Author:
Stephane Nicoll
  • Constructor Details

  • 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
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Specified by:
      getOrder in interface ProjectContributor