Class OrganizationImpl

  • All Implemented Interfaces:, io.jenkins.blueocean.Routable

    public class OrganizationImpl
    BlueOrganization implementation for the embedded use.
    Vivek Pandey, Kohsuke Kawaguchi
    • Method Detail

      • getName

        public String getName()
        In embedded mode, there's only one organization
        Specified by:
        getName in class
      • getGroup

        public ModifiableTopLevelItemGroup getGroup()
        Specified by:
        getGroup in class
      • getDisplayName

        public String getDisplayName()
        Specified by:
        getDisplayName in class
      • getPipelines

        public getPipelines()
        Specified by:
        getPipelines in class
      • delete

        public void delete()
      • getUsers

        public getUsers()
        In the embedded case, there's only one organization and everyone belongs there, so we can just return that singleton.
        Specified by:
        getUsers in class
      • getUser

        public getUser()
        Specified by:
        getUser in class
      • getLink

        public getLink()
      • getDynamic

        public Object getDynamic​(String route)
        Give plugins chance to handle this API route.
        route - URL path that needs handling. e.g. for requested url /rest/organizations/:id/xyz, route param value will be 'xyz'
        stapler object that can handle give route. Could be null