diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java index 41b273f1e9d..7905aa164ba 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/ProfileDefinition.java @@ -19,7 +19,8 @@ */ package org.sonar.api.profiles; -import org.sonar.api.ServerExtension; +import org.sonar.api.ExtensionPoint; +import org.sonar.api.ServerSide; import org.sonar.api.utils.ValidationMessages; /** @@ -28,7 +29,9 @@ import org.sonar.api.utils.ValidationMessages; * * @since 2.3 */ -public abstract class ProfileDefinition implements ServerExtension { +@ServerSide +@ExtensionPoint +public abstract class ProfileDefinition { public abstract RulesProfile createProfile(ValidationMessages validation); |