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<String, String> params)
boolean shouldDisplay(Map<String, Object> 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<String, String> params)

public boolean shouldDisplay (Map<String, Object> context)