public class

RepositoryScope

extends Object
implements Scope
java.lang.Object
   ↳ com.atlassian.bitbucket.scope.RepositoryScope

Class Overview

Describes a repository level scope

Summary

Public Constructors
RepositoryScope(Repository repository)
Public Methods
<T> T accept(ScopeVisitor<T> visitor)
boolean equals(Object o)
@Nonnull Project getProject()
@Nonnull Repository getRepository()
@Nonnull Optional<Integer> getResourceId()
@Nonnull ScopeType getType()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.scope.Scope

Public Constructors

public RepositoryScope (Repository repository)

Public Methods

public T accept (ScopeVisitor<T> visitor)

public boolean equals (Object o)

@Nonnull public Project getProject ()

Returns

@Nonnull public Repository getRepository ()

Returns
  • the repository

@Nonnull public Optional<Integer> getResourceId ()

@Nonnull public ScopeType getType ()

public int hashCode ()

public String toString ()