diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-06-29 11:21:53 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-06-29 11:23:56 +0200 |
commit | 94b831e62c22a1465adbde298bdc2d1d804a73fc (patch) | |
tree | 7fc8efa5fa0ea206390ad5f01f679a4a61998d95 /plugins/sonar-core-plugin | |
parent | cbf9a517c208b45b1b6b719436fa08ef217e5196 (diff) | |
download | sonarqube-94b831e62c22a1465adbde298bdc2d1d804a73fc.tar.gz sonarqube-94b831e62c22a1465adbde298bdc2d1d804a73fc.zip |
SONAR-1608 Make it possible to modify the key of projects
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java index 3ddd12dc63a..78ff963e9e0 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java @@ -38,8 +38,11 @@ public final class DefaultResourceTypes extends ExtensionProvider implements Bat .setProperty("deletable", "true") .setProperty("modifiable_history", "true") .setProperty("hasRolePolicy", "true") + .setProperty("updatable_key", "true") + .build()) + .addType(ResourceType.builder(Qualifiers.MODULE) + .setProperty("updatable_key", "true") .build()) - .addType(ResourceType.builder(Qualifiers.MODULE).build()) .addType(ResourceType.builder(Qualifiers.DIRECTORY).build()) .addType(ResourceType.builder(Qualifiers.PACKAGE).build()) .addType(ResourceType.builder(Qualifiers.FILE).hasSourceCode().build()) |