aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-13 17:16:09 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-13 17:17:36 +0200
commit6cd9d71fc8f7c093b2a3da4e0f625fdf82541cb2 (patch)
tree8724d63b3cf4975176d55ee86d154b4bcb511f41 /sonar-plugin-api
parent23c6b6ea166d670dfeaba4d4840bbd046f959a0d (diff)
downloadsonarqube-6cd9d71fc8f7c093b2a3da4e0f625fdf82541cb2.tar.gz
sonarqube-6cd9d71fc8f7c093b2a3da4e0f625fdf82541cb2.zip
SONAR-4323 add Java client to WS /api/users/search
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/user/RubyUserService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/user/RubyUserService.java b/sonar-plugin-api/src/main/java/org/sonar/api/user/RubyUserService.java
index 5247f6b1efa..a1e7180a453 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/user/RubyUserService.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/user/RubyUserService.java
@@ -21,6 +21,7 @@ package org.sonar.api.user;
import org.sonar.api.ServerComponent;
+import javax.annotation.CheckForNull;
import java.util.List;
import java.util.Map;
@@ -29,6 +30,9 @@ import java.util.Map;
*/
public interface RubyUserService extends ServerComponent {
+ @CheckForNull
+ User findByLogin(String login);
+
/**
* Search for users
* <p/>