public class MavenBuildProjectContributor extends Object implements BuildWriter, ProjectContributor
ProjectContributor
to contribute the files for a MavenBuild
.Constructor and Description |
---|
MavenBuildProjectContributor(MavenBuild build,
IndentingWriterFactory indentingWriterFactory) |
Modifier and Type | Method and Description |
---|---|
void |
contribute(Path projectRoot)
Contribute additional resources to the project in the specified root directory.
|
void |
writeBuild(Writer out)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOrder
public MavenBuildProjectContributor(MavenBuild build, IndentingWriterFactory indentingWriterFactory)
public void contribute(Path projectRoot) throws IOException
ProjectContributor
contribute
in interface ProjectContributor
projectRoot
- the root directory of the projectIOException
- if contributing a resource failedpublic void writeBuild(Writer out) throws IOException
BuildWriter
writeBuild
in interface BuildWriter
out
- the writer to useIOException
- if writing the build to out
failedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.