@PublicApi public interface BranchingAwareRepository extends Repository
Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
Modifier and Type | Method and Description |
---|---|
void |
createBranch(long repositoryId,
String branchName,
BuildContext buildContext)
Creates branch in the repository.
|
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
populateFromConfig, toConfiguration
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
getDescription
void createBranch(long repositoryId, @NotNull String branchName, @NotNull BuildContext buildContext) throws RepositoryException
branchName
- name of new branchbuildContext
- build contextRepositoryException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.