package

com.atlassian.bitbucket.content

Interfaces

Blame Provides blame (or praise) data for a span of lines within a file. 
Change Describes a single change made by a commit
ChangeCallback Describes a callback for receiving streaming changes
Conflict Describes two conflicting changes that were made on opposite sides of a merge. 
ConflictChange A minimal subset of a Change describing how a path was changed on one side of a Conflict
ContentService A service for the management of files and their metadata. 
ContentTreeCallback Callback interface for streaming content tree nodes from a starting directory

Note: Implementors are strongly encouraged to extend from AbstractContentTreeCallback

ContentTreeNode Represents a node in a source tree. 
Diff  
DiffContentCallback A callback for receiving streaming diff details. 
DiffHunk Describes a single hunk, with one or more segments, in a diff. 
DiffLine  
DiffSegment  
DirectoryRevision Represents a revision of a directory  
FileContentCallback A callback for the contents of a file

Note: Implementors are strongly encouraged to extend from AbstractFileContentCallback

Path A bean representation of a path  

Classes

AbstractChangeCallback Convenience implementation of ChangeCallback that provides no-op implementations for all methods. 
AbstractContentTreeCallback Convenience implementation of ContentTreeCallback that provides no-op implementations for all methods. 
AbstractDiffContentCallback Convenience implementation of DiffContentCallback that provides no-op implementations for all methods. 
AbstractDiffRequest  
AbstractDiffRequest.AbstractBuilder<B extends AbstractBuilder<B, R>, R>  
AbstractFileContentCallback  
ArchiveRequest Describes a request to download an archive of a given repository at a specified commit, optionally filtered to only include certain paths. 
ArchiveRequest.Builder  
ChangeContext  
ChangeContext.Builder  
ChangesRequest  
ChangesRequest.Builder  
ChangeSummary Summarizes changes which have been streamed to a ChangeCallback
ChangeSummary.Builder  
ContentTreeContext  
ContentTreeContext.Builder  
ContentTreeSummary  
ContentTreeSummary.Builder  
DiffContentFilter Allows for filtering diff lines. 
DiffContext  
DiffContext.Builder  
DiffRequest Request arguments for streamDiff(DiffRequest, DiffContentCallback)
DiffRequest.Builder  
DiffSummary  
DiffSummary.Builder  
Directory Represents a directory in a source tree  
EditFileRequest Represents a request to edit a file, this request can be used to create a new file as well as updating an existing file. 
EditFileRequest.Builder  
File Represents a file in a source tree. 
FileContext  
FileContext.Builder  
FileEditHookRequest Request that is provided to repository-hook plugin modules when a file is edited
FileEditHookRequest.Builder  
FileSummary  
FileSummary.Builder  
SimplePath  
Submodule Represents a remote link in a source tree  

Enums

ArchiveFormat Describes the different formats archives may be streamed in. 
ChangeType Defines the standard change types which may occur in a given commit
ConflictMarker Used to mark diff lines which represent a merge conflict. 
ContentTreeNode.Type Enumeration of ContentTreeNode types  
DiffFileType An enumeration of file types in a diff. 
DiffSegmentType Enumerates the different segment types available in diff output. 
DiffWhitespace A flag for indicating how whitespace should be handled in a diff, such as being ignored

Exceptions

EditFileFailedException  
FileAlreadyExistsException  
FileContentUnmodifiedException  
FileOutOfDateException  
FileTranscodingException Thrown to indicate that the input content could not be transcoded to the existing file's encoding. 
NoSuchPathException