public interface

BranchModelService

com.atlassian.bitbucket.branch.model.BranchModelService

Class Overview

Manages BranchModels per repository.

Summary

Public Methods
@Nonnull BranchModel getModel(Repository repository)
Get the branch model for a given repository.

Public Methods

@Nonnull public BranchModel getModel (Repository repository)

Get the branch model for a given repository.

Parameters
repository repository
Returns
  • branch model of the repository
Throws
EmptyRepositoryException if the repository is empty