Class UserImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueUser
io.jenkins.blueocean.service.embedded.rest.UserImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
public class UserImpl
extends io.jenkins.blueocean.rest.model.BlueUser
BlueUser
implementation backed by in-memory User
- Author:
- Kohsuke Kawaguchi, Vivek Pandey
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BlueUser
EMAIL, FAVORITES, FULL_NAME, ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDynamic
(String route) Give plugins chance to handle this API route.getEmail()
io.jenkins.blueocean.rest.model.BlueFavoriteContainer
getId()
io.jenkins.blueocean.rest.hal.Link
getLink()
io.jenkins.blueocean.rest.model.BlueUserPermission
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Field Details
-
user
-
-
Constructor Details
-
Method Details
-
getId
- Specified by:
getId
in classio.jenkins.blueocean.rest.model.BlueUser
-
getFullName
- Specified by:
getFullName
in classio.jenkins.blueocean.rest.model.BlueUser
-
getEmail
- Specified by:
getEmail
in classio.jenkins.blueocean.rest.model.BlueUser
-
getAvatar
- Specified by:
getAvatar
in classio.jenkins.blueocean.rest.model.BlueUser
-
getFavorites
public io.jenkins.blueocean.rest.model.BlueFavoriteContainer getFavorites()- Specified by:
getFavorites
in classio.jenkins.blueocean.rest.model.BlueUser
-
getPermission
public io.jenkins.blueocean.rest.model.BlueUserPermission getPermission()- Specified by:
getPermission
in classio.jenkins.blueocean.rest.model.BlueUser
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
getDynamic
Give plugins chance to handle this API route.- Parameters:
route
- URL path that needs handling. e.g. for requested url /rest/organizations/:id/users/:user/xyz, route param value will be 'xyz'- Returns:
- stapler object that can handle give route. Could be null
-