BranchInformationProvider instead.@Deprecated @PublicApi public interface BranchDetectionCapableRepository extends BranchAwareRepository
RepositorySELECTED_REPOSITORY, UNKNOWN_HOST| Modifier and Type | Method and Description |
|---|---|
@Nullable CommitContext |
getFirstCommit()
Deprecated.
Retrieve the commit that created the Branch.
|
@Nullable CommitContext |
getLastCommit()
Deprecated.
Retrieve last commit on the branch set on this Repository.
|
@NotNull List<VcsBranch> |
getOpenBranches(@Nullable String context)
Deprecated.
Set of open branches that are discovered in the repository. |
getVcsBranch, setVcsBranchcheckConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeypopulateFromConfig, toConfigurationcollectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferentcustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlgetDescription@NotNull @NotNull List<VcsBranch> getOpenBranches(@Nullable @Nullable String context) throws RepositoryException
Set of open branches that are discovered in the repository. Returns empty collection if no branches at
all (can that happen?). Used for monitoring repositories for new branches.
An open branch is a branch that is considered 'open' by underlying VCS - it has nothing to do with the actual
development on that branch (recent commits or so).List of branch names. May be empty.RepositoryException@Nullable @Nullable CommitContext getLastCommit() throws RepositoryException
RepositoryException@Nullable @Nullable CommitContext getFirstCommit() throws RepositoryException
RepositoryExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.