BranchInformationProvider
instead.@Deprecated @PublicApi public interface BranchDetectionCapableRepository extends BranchAwareRepository
Repository
SELECTED_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, setVcsBranch
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
populateFromConfig, toConfiguration
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
getDescription
@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
RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.