Class AbstractBitbucketTeam
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.api.AbstractBitbucketTeam
- All Implemented Interfaces:
BitbucketTeam
- Direct Known Subclasses:
BitbucketCloudTeam
,BitbucketServerProject
Shared Code between two team implementations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet Link based on namegetLinks()
Gets the links of the project.getName()
void
setDisplayName
(String displayName) void
setLinks
(Map<String, List<BitbucketHref>> links) void
-
Constructor Details
-
AbstractBitbucketTeam
public AbstractBitbucketTeam()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceBitbucketTeam
- Returns:
- team or project name
-
setName
-
getDisplayName
- Specified by:
getDisplayName
in interfaceBitbucketTeam
- Returns:
- team or project display name.
-
setDisplayName
-
getLinks
Description copied from interface:BitbucketTeam
Gets the links of the project.- Specified by:
getLinks
in interfaceBitbucketTeam
- Returns:
- the links of the project.
-
setLinks
-
getLink
Description copied from interface:BitbucketTeam
Get Link based on name- Specified by:
getLink
in interfaceBitbucketTeam
- Parameters:
name
- - link type - one of(self, html, avatar)- Returns:
- href string if there is one, else null
-