org.sonar.api.batch.bootstrap
Class ProjectBuilder
java.lang.Object
org.sonar.api.batch.bootstrap.ProjectBuilder
- All Implemented Interfaces:
- BatchComponent, BatchExtension, Extension
public abstract class ProjectBuilder
- extends Object
- implements BatchExtension
This extension point allows to change project structure at runtime. It is executed once during batch startup.
Some use-cases :
- Add sub-projects which are not defined in batch bootstrapper. For example the C# plugin gets the hierarchy
of sub-projects from the Visual Studio metadata file. The single root pom.xml does not contain any declarations of
modules
- Change project metadata like description or source directories.
- Since:
- 2.9
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectBuilder
protected ProjectBuilder(ProjectReactor reactor)
start
public final void start()
build
protected abstract void build(ProjectReactor reactor)
Copyright © 2009-2012 SonarSource. All Rights Reserved.