java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.model.BbUser
io.jenkins.blueocean.blueocean_bitbucket_pipeline.server.model.BbServerUser

public class BbServerUser extends BbUser
Author:
Vivek Pandey
  • Constructor Details

  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class BbUser
      Returns:
      Displayable name
    • getSlug

      public String getSlug()
      Specified by:
      getSlug in class BbUser
      Returns:
      User slug
    • getEmailAddress

      public String getEmailAddress()
      Specified by:
      getEmailAddress in class BbUser
      Returns:
      User email
    • getAvatar

      public String getAvatar()
      Specified by:
      getAvatar in class BbUser
      Returns:
      URL of user avatar
    • toPersonalProject

      public BbServerProject toPersonalProject()
      Every user account on bitbucket server is a project with key ~{userSlug}. see 'Personal Repositories' section at https://developer.atlassian.com/static/rest/bitbucket-server/5.3.1/bitbucket-rest.html
      Returns:
      project key for user account