BranchInformationProvider
instead.@Deprecated @PublicApi public interface BranchDetectionCapableRepository extends BranchAwareRepository
Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
Modifier and Type | Method and Description |
---|---|
CommitContext |
getFirstCommit()
Deprecated.
Retrieve the commit that created the Branch.
|
CommitContext |
getLastCommit()
Deprecated.
Retrieve last commit on the branch set on this Repository.
|
List<VcsBranch> |
getOpenBranches(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 List<VcsBranch> getOpenBranches(@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 CommitContext getLastCommit() throws RepositoryException
RepositoryException
@Nullable CommitContext getFirstCommit() throws RepositoryException
RepositoryException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.