public class

RepositoryCloneLinksRequest

extends Object
java.lang.Object
   ↳ com.atlassian.stash.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 StashUser 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 StashUser getUser ()

Returns

public boolean isUseCurrentUser ()

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