Class Scopes

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

public class Scopes extends Object
Since:
5.0
  • Method Details

    • global

      @Nonnull public static GlobalScope global()
      Returns:
      the global scope
    • project

      @Nonnull public static ProjectScope project(@Nonnull Project project)
      Parameters:
      project - project to create scope for
      Returns:
      a project level scope for the given project
    • repository

      @Nonnull public static RepositoryScope repository(@Nonnull Repository repository)
      Parameters:
      repository - to create the scope for
      Returns:
      a repository level scope for the given repository