public class

Scopes

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.scope.Scopes

Summary

Public Methods
@Nonnull static GlobalScope global()
@Nonnull static ProjectScope project(Project project)
@Nonnull static RepositoryScope repository(Repository repository)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public static GlobalScope global ()

Returns
  • the global scope

@Nonnull public static ProjectScope project (Project project)

Returns
  • a project level scope for the given project

@Nonnull public static RepositoryScope repository (Repository repository)

Returns
  • a repository level scope for the given repository