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
  • Constructor Details

    • UserSearch

      public UserSearch()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class io.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 class io.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