Class BitbucketMirroredRepository
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.model.BitbucketMirroredRepository
-
public class BitbucketMirroredRepository extends Object
-
-
Constructor Summary
Constructors Constructor Description BitbucketMirroredRepository(boolean available, Map<String,List<BitbucketNamedLink>> links, String mirrorName, int repositoryId, BitbucketMirroredRepositoryStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<BitbucketNamedLink>
getCloneUrl(CloneProtocol cloneProtocol)
List<BitbucketNamedLink>
getCloneUrls()
Map<String,List<BitbucketNamedLink>>
getLinks()
String
getMirrorName()
int
getRepositoryId()
BitbucketMirroredRepositoryStatus
getStatus()
boolean
isAvailable()
-
-
-
Constructor Detail
-
BitbucketMirroredRepository
public BitbucketMirroredRepository(boolean available, Map<String,List<BitbucketNamedLink>> links, String mirrorName, int repositoryId, BitbucketMirroredRepositoryStatus status)
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
-
getCloneUrl
public Optional<BitbucketNamedLink> getCloneUrl(CloneProtocol cloneProtocol)
-
getCloneUrls
public List<BitbucketNamedLink> getCloneUrls()
-
getLinks
public Map<String,List<BitbucketNamedLink>> getLinks()
-
getMirrorName
public String getMirrorName()
-
getRepositoryId
public int getRepositoryId()
-
getStatus
public BitbucketMirroredRepositoryStatus getStatus()
-
-