Package org.sonar.api.batch.bootstrap
Class ProjectBuilder
- java.lang.Object
-
- org.sonar.api.batch.bootstrap.ProjectBuilder
-
@ScannerSide @ExtensionPoint @Deprecated public abstract class ProjectBuilder extends java.lang.Object
Deprecated.since 6.5. It won't be possible to manipulate the project's structure.This extension point allows to change project structure at runtime. It is executed once during task startup. Some use-cases :- Add sub-projects. 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProjectBuilder.Context
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProjectBuilder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
build(ProjectBuilder.Context context)
Deprecated.Override this method to change project reactor structure.protected void
build(ProjectReactor reactor)
Deprecated.since 3.7 overridebuild(Context)
instead
-
-
-
Method Detail
-
build
public void build(ProjectBuilder.Context context)
Deprecated.Override this method to change project reactor structure.- Since:
- 3.7
-
build
@Deprecated protected void build(ProjectReactor reactor)
Deprecated.since 3.7 overridebuild(Context)
instead
-
-