Package io.jenkins.blueocean.rest.model
Class BlueOrganization
- java.lang.Object
-
- io.jenkins.blueocean.rest.model.Resource
-
- io.jenkins.blueocean.rest.model.BlueOrganization
-
- Direct Known Subclasses:
AbstractOrganization
public abstract class BlueOrganization extends Resource implements Routable
API endpoint for an organization that houses all the pipelines.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description BlueOrganization()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getDisplayName()
abstract String
getName()
abstract BluePipelineContainer
getPipelines()
String
getUrlName()
Follows the same convention as Action.getUrlName()abstract BlueUser
getUser()
Gives currently authenticated userabstract BlueUserContainer
getUsers()
A set of users who belong to this organization.
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
DISPLAY_NAME
public static final String DISPLAY_NAME
- See Also:
- Constant Field Values
-
PIPELINES
public static final String PIPELINES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrlName
public String getUrlName()
Description copied from interface:Routable
Follows the same convention as Action.getUrlName()- Specified by:
getUrlName
in interfaceRoutable
-
getName
@Exported(name="name") public abstract String getName()
-
getDisplayName
@Exported(name="displayName") public abstract String getDisplayName()
-
getPipelines
@Navigable public abstract BluePipelineContainer getPipelines()
-
getUsers
@Navigable public abstract BlueUserContainer getUsers()
A set of users who belong to this organization.- Returns:
BlueUserContainer
-
getUser
@Navigable public abstract BlueUser getUser()
Gives currently authenticated user- Returns:
BlueUser
-
-