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 -
Method Summary
Modifier and TypeMethodDescriptionio.jenkins.blueocean.rest.model.BlueOrganizationgetOrganization(io.jenkins.blueocean.rest.Query q) Obtains the organization from the query.getType()io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BlueUser> search(io.jenkins.blueocean.rest.Query q) Methods inherited from class io.jenkins.blueocean.rest.OmniSearch
all
-
Constructor Details
-
UserSearch
public UserSearch()
-
-
Method Details
-
getType
- Specified by:
getTypein 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:
searchin 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
-