public class

CanCloneRepositoryCondition

extends Object
implements Condition
java.lang.Object
   ↳ com.atlassian.bitbucket.web.conditions.CanCloneRepositoryCondition

Class Overview

A condition which checks whether the current user is able to clone the current repository.

Summary

Public Constructors
CanCloneRepositoryCondition(PermissionService permissionService, RepositoryService repositoryService)
Public Methods
void init(Map<StringString> map)
boolean shouldDisplay(Map<StringObject> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public CanCloneRepositoryCondition (PermissionService permissionService, RepositoryService repositoryService)

Public Methods

public void init (Map<StringString> map)

Throws
PluginParseException

public boolean shouldDisplay (Map<StringObject> context)