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
RefCallback2 RefCallback2 adds onStart(RefContext) and onEnd(RefSummary) methods. 
RefChange Represents a ref change, used mainly by RepositoryRefsChangedEvent
Repository Describes a repository within the system. 
RepositoryActivity  
RepositoryActivityVisitor<T>  
RepositoryMetadataService A service for interacting with metadata about a given Repository, such as branches and tags. 
RepositoryPushActivity  
RepositoryService Describes a service for interacting with repositories. 
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>  
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. 
RepositoryOperationResult The asynchronous result of a repository operation. 
RepositorySearchRequest Request for searching repositories. 
RepositorySearchRequest.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
ScmType This enum is deprecated. Will be removed in Stash 3.0  

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