public class

IsRepositoryForkableCondition

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

Class Overview

A condition which checks if a repository is forkable

Summary

Constants
String ANONYMOUS_ALLOWED
String REPOSITORY
Public Constructors
IsRepositoryForkableCondition(AuthenticationContext authenticationContext)
Public Methods
void init(Map<StringString> params)
boolean shouldDisplay(Map<StringObject> context)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Constants

public static final String ANONYMOUS_ALLOWED

Constant Value: "anonymousAllowed"

public static final String REPOSITORY

Constant Value: "repository"

Public Constructors

public IsRepositoryForkableCondition (AuthenticationContext authenticationContext)

Public Methods

public void init (Map<StringString> params)

public boolean shouldDisplay (Map<StringObject> context)