package

com.atlassian.bitbucket.repository

Interfaces

Branch A Ref denoting a branch in the repository. 
BranchCallback A callback for streaming branches
DetailedRefChange  
MetadataMap A map of pluggable metadata associated with a Ref 
MinimalRef A minimal abstraction for a ref within a Repository, describing only the ref's name. 
MinimalRepositoryRef A MinimalRef qualified with the Repository it exists in 
Ref Common abstraction between reference types like branches and tags
RefCallback A callback for streaming refs
RefChange Represents a ref change, used mainly by RepositoryRefsChangedEvent
RefChangeDetails  
RefService A service for interacting with a repository's refs, such as branches and tags
RefType Represents the different types of refs. 
Repository Describes a repository within the system. 
RepositoryActivity  
RepositoryActivityVisitor<T>  
RepositoryPushActivity  
RepositoryRef A Ref qualified with the Repository it exists in 
RepositoryService Describes a service for interacting with repositories. 
RepositorySupplier Allows retrieving repositories by their ID or project and slug
Tag A Ref denoting a tag in the repository. 
TagCallback A callback for streaming tags

Classes

AbstractCreateRefRequest A request to create a ref
AbstractCreateRefRequest.AbstractBuilder<B extends AbstractBuilder, R extends AbstractCreateRefRequest>  
AbstractRefCallback Convenience implementation of RefCallback that provides no-op implementations for all methods. 
AbstractRepositoryActivityVisitor<T>  
AbstractRepositoryRefsRequest  
AbstractRepositoryRefsRequest.AbstractBuilder<B extends AbstractBuilder<B, R extends AbstractRepositoryRefsRequest>, R>  
AbstractRepositoryRequest Base class for Repository-related request classes. 
AbstractRepositoryRequest.AbstractBuilder<B extends AbstractBuilder<B>> Base class for creating builders for repository-related requests. 
BranchContext  
BranchContext.Builder  
BranchSummary  
BranchSummary.Builder  
CreateBranchRequest A request to create a branch
CreateBranchRequest.Builder  
CreateTagRequest A request to create a tag
CreateTagRequest.Builder  
RefContext  
RefContext.Builder  
RefMetadataRequest A request for metadata associated with a collection of Ref
RefMetadataRequest.Builder A builder for RefMetadataRequest  
RefSummary  
RefSummary.Builder  
RepositoryBranchesRequest A request for branches within a repository. 
RepositoryBranchesRequest.Builder  
RepositoryCloneLinksRequest A request to generate a repository's clone URLs  
RepositoryCloneLinksRequest.Builder Builds RepositoryCloneLinksRequest  
RepositoryCreateRequest Defines the properties that can be set when creating a new Repository
RepositoryCreateRequest.Builder Constructs requests for creating new repositories. 
RepositoryForkRequest Defines the properties that can be set when forking a Repository
RepositoryForkRequest.Builder Constructs requests for forking repositories. 
RepositorySearchRequest Request for searching repositories. 
RepositorySearchRequest.Builder  
RepositoryTagsRequest A request for tags within a repository. 
RepositoryTagsRequest.Builder  
RepositoryUpdateRequest Defines the properties that can be modified when updating a Repository
RepositoryUpdateRequest.Builder Constructs requests for updating repositories. 
ResolveRefRequest Describes a ref to resolve
ResolveRefRequest.Builder  
ResolveRefsRequest Describes which refs to resolve
ResolveRefsRequest.Builder  
SimpleDetailedRefChange  
SimpleDetailedRefChange.Builder  
SimpleMinimalRef  
SimpleMinimalRef.AbstractMinimalRefBuilder<B extends AbstractMinimalRefBuilder<B, R extends MinimalRef>, R>  
SimpleMinimalRef.Builder  
SimpleMinimalRepositoryRef Basic implementation of MinimalRepositoryRef 
SimpleMinimalRepositoryRef.AbstractBuilder<B extends AbstractBuilder<B, R extends MinimalRepositoryRef>, R>  
SimpleMinimalRepositoryRef.Builder  
SimpleRefChange A simple, immutable implementation of RefChange
SimpleRefChange.AbstractBuilder<B extends AbstractBuilder<B>>  
SimpleRefChange.Builder  
SimpleRefChangeDetails  
SimpleRefChangeDetails.Builder  
SimpleRepositoryRef Basic implementation of RepositoryRef 
SimpleRepositoryRef.Builder  
TagContext  
TagContext.Builder  
TagSummary  
TagSummary.Builder  

Enums

RefChangeType Represents the different types of ref changes. 
RefOrder Defines orderings which can be applied when retrieving references. 
Repository.State Enumerates the possible states for a given repository
RepositoryVisibility The visibility of a given repository
StandardRefType Standard ref types that should be supported by all SCM implementations. 

Exceptions

ConflictingRefNameException Indicates the operation could not be completed because a existing ref already exists with a name that conflicts with the one being created. 
DuplicateRefException Indicates the operation could not be completed because a ref already exists for the supplied name. 
EmptyRepositoryException Thrown when an operation cannot be completed because the related repository is empty. 
ForkingDisabledException  
IllegalRepositoryStateException Thrown to indicate an operation could not be completed because the repository was not in the expected state
InvalidAuthorException  
InvalidRefNameException Indicates the ref name supplied was syntactically incorrect. 
NoDefaultBranchException Thrown to indicate the configured default branch for a repository does not exist. 
NoSuchBranchException Indicates no branch exists with the specified name. 
NoSuchRepositoryException  
NoSuchTagException Indicates no tag exists with the specified name. 
PersonalRepositoryDisabledException Thrown when attempting to create a repository in a personal space when personal repositories are disabled. 
RepositoryAlreadyExistsException Thrown to indicate that a repository already exists at the given repositoryDir when a new repository or fork is created. 
RepositoryCreationCanceledException  
RepositoryDeletionCanceledException  
RepositoryForkCanceledException  
RepositoryModificationCanceledException  
RepositoryMovedException Exception that is thrown when a repository is retrieved using an old slug, project key or namespace value after any of these three fields have been updated (e.g. 
RepositoryOperationException