Class BitbucketCloudWorkspace
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketCloudWorkspace
-
- All Implemented Interfaces:
BitbucketTeam
,BitbucketWorkspace
public class BitbucketCloudWorkspace extends Object implements BitbucketWorkspace
-
-
Constructor Summary
Constructors Constructor Description BitbucketCloudWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getLink(String name)
Get Link based on nameMap<String,List<BitbucketHref>>
getLinks()
Gets the links of the project.String
getName()
String
getSlug()
String
getUuid()
boolean
isPrivate()
-
-
-
Method Detail
-
getUuid
public String getUuid()
- Specified by:
getUuid
in interfaceBitbucketWorkspace
-
getName
public String getName()
- Specified by:
getName
in interfaceBitbucketTeam
- Returns:
- team or project name
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceBitbucketTeam
- Returns:
- team or project display name.
-
getSlug
public String getSlug()
- Specified by:
getSlug
in interfaceBitbucketWorkspace
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceBitbucketWorkspace
-
getLinks
public Map<String,List<BitbucketHref>> getLinks()
Description copied from interface:BitbucketTeam
Gets the links of the project.- Specified by:
getLinks
in interfaceBitbucketTeam
- Returns:
- the links of the project.
-
getLink
public String getLink(String name)
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
-
-