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, waitgetOrderpublic MavenBuildProjectContributor(MavenBuild build, IndentingWriterFactory indentingWriterFactory)
public void contribute(Path projectRoot) throws IOException
ProjectContributorcontribute in interface ProjectContributorprojectRoot - the root directory of the projectIOException - if contributing a resource failedpublic void writeBuild(Writer out) throws IOException
BuildWriterwriteBuild in interface BuildWriterout - the writer to useIOException - if writing the build to out failedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.