public interface

BranchModelService

com.atlassian.stash.branch.model.BranchModelService

Class Overview

Manages BranchModels per repository.

Summary

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

Public Methods

@Nullable public BranchModel getModel (Repository repository)

Get the branch model for a given repository.

Parameters
repository repository
Returns
  • branch model of the repository, or null, if no branch model is defined for the repository.