diff options
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java index e824d4e0a87..bc0e9163fcf 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/bootstrap/ProjectDefinition.java @@ -87,6 +87,11 @@ public final class ProjectDefinition implements BatchComponent { return properties; } + public ProjectDefinition setProperty(String key, String value) { + properties.setProperty(key, value); + return this; + } + public ProjectDefinition setKey(String key) { properties.setProperty(CoreProperties.PROJECT_KEY_PROPERTY, key); return this; |