public class GitIgnoreContributor extends Object implements ProjectContributor
SingleResourceProjectContributor that contributes a .gitignore file
to a project.| Constructor and Description |
|---|
GitIgnoreContributor(GitIgnore gitIgnore) |
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Path projectRoot)
Contribute additional resources to the project in the specified root directory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic GitIgnoreContributor(GitIgnore gitIgnore)
public void contribute(Path projectRoot) throws IOException
ProjectContributorcontribute in interface ProjectContributorprojectRoot - the root directory of the projectIOException - if contributing a resource failedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.