package

com.atlassian.stash.repository

Interfaces

Branch A Ref denoting a branch in the repository. 
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. 
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
RefService A service for interacting with a repository's refs, such as branches and tags
Repository Describes a repository within the system. 
RepositoryActivity  
RepositoryActivityVisitor<T>  
RepositoryMetadataService This interface is deprecated. in 3.10 for removal in 4.0. Use RefService instead, except for isEmpty(Repository) which has moved to the RepositoryService  
RepositoryPushActivity  
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. 

Classes

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. 
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. 
SimpleRefChange A simple, immutable implementation of RefChange
SimpleRefChange.Builder  
Version Version represents a version. 

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

Exceptions

ForkingDisabledException  
IllegalRepositoryStateException Thrown to indicate an operation could not be completed because the repository was not in the expected state
PersonalRepositoryDisabledException Thrown when attempting to create a repository in a personal space when personal repositories are disabled. 
RepositoryCreationCanceledException  
RepositoryDeletionCanceledException  
RepositoryForkCanceledException  
RepositoryModificationCanceledException