@FunctionalInterface public interface ProjectContributor extends org.springframework.core.Ordered
order
of 0
by default, considering overriding getOrder()
to customize
this behaviour.Modifier and Type | Method and Description |
---|---|
void |
contribute(Path projectRoot)
Contribute additional resources to the project in the specified root directory.
|
default int |
getOrder() |
void contribute(Path projectRoot) throws IOException
projectRoot
- the root directory of the projectIOException
- if contributing a resource faileddefault int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.