diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-12 17:34:50 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-06-12 17:35:20 +0200 |
commit | ec5d0970b0a6b290c5690be86f2b369391c84cdf (patch) | |
tree | 6ae26fbc35fddf57860d9c9e9020dd678ebc64e6 /sonar-plugin-api/src | |
parent | 7f1d0426458733fb7bde55e103a44ace814a5fe0 (diff) | |
download | sonarqube-ec5d0970b0a6b290c5690be86f2b369391c84cdf.tar.gz sonarqube-ec5d0970b0a6b290c5690be86f2b369391c84cdf.zip |
SONAR-4386 Provide a context to ProjectBuilder for later evolutions
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectBuilderContext.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectBuilderContext.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectBuilderContext.java new file mode 100644 index 00000000000..82a2b199847 --- /dev/null +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectBuilderContext.java @@ -0,0 +1,36 @@ +/* + * SonarQube, open source software quality management tool. + * Copyright (C) 2008-2013 SonarSource + * mailto:contact AT sonarsource DOT com + * + * SonarQube is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * SonarQube is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +package org.sonar.api.batch.bootstrap; + + +/** + * Context that is passed to {@link ProjectBuilder} as parameter + * + * @since 3.7 + */ +public interface ProjectBuilderContext { + + /** + * Get the current project reactor. It is allowed to modify project reactor inside the + * {@link ProjectBuilder#build(ProjectReactor)} method. + */ + ProjectReactor getProjectReactor(); + +} |