Class UserSearch
- java.lang.Object
-
- io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BlueUser>
-
- io.jenkins.blueocean.service.embedded.rest.UserSearch
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class UserSearch extends io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BlueUser>
- Author:
- Vivek Pandey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description UserSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jenkins.blueocean.rest.model.BlueOrganization
getOrganization(io.jenkins.blueocean.rest.Query q)
Obtains the organization from the query.String
getType()
io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueUser>
search(io.jenkins.blueocean.rest.Query q)
-
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getType
in classio.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BlueUser>
-
search
public io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueUser> search(io.jenkins.blueocean.rest.Query q)
- Specified by:
search
in classio.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BlueUser>
-
getOrganization
public io.jenkins.blueocean.rest.model.BlueOrganization getOrganization(io.jenkins.blueocean.rest.Query q)
Obtains the organization from the query. It will return an error if the parameter is absent or the organization could not be found.- Parameters:
q
- the query parameter- Returns:
- the organization if found
-
-