public class

RepositoryCloneLinksRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.RepositoryCloneLinksRequest

Class Overview

A request to generate a repository's clone URLs

Summary

Nested Classes
class RepositoryCloneLinksRequest.Builder Builds RepositoryCloneLinksRequest  
Public Methods
@Nullable String getProtocolName()
@Nonnull Repository getRepository()
@Nullable ApplicationUser getUser()
boolean isUseCurrentUser()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nullable public String getProtocolName ()

Returns
  • the optional protocol that the resulting links should match

@Nonnull public Repository getRepository ()

Returns
  • the repository that the resulting links should be for

@Nullable public ApplicationUser getUser ()

Returns

public boolean isUseCurrentUser ()

Returns
  • true if the currently authenticated user is to be used, false otherwise. When building this object if user(ApplicationUser) was called then the currently authenticated user will not be used