Class RepositoryCloneLinksRequest
java.lang.Object
com.atlassian.bitbucket.repository.RepositoryCloneLinksRequest
A request to generate a repository's clone URLs
-
Nested Class Summary
-
Method Summary
-
Method Details
-
getRepository
- Returns:
- the repository that the resulting links should be for
-
getProtocolName
- Returns:
- the optional protocol that the resulting links should match
-
getUser
- Returns:
- the user to be used when generating the clone link or null if no user is to be used or the
user for the current request
is to be used
-
isUseCurrentUser
public boolean isUseCurrentUser()- Returns:
- true if the currently authenticated user is to be used, false otherwise. When building this object if
RepositoryCloneLinksRequest.Builder.user(ApplicationUser)
was called then the currently authenticated user will not be used
-