Package com.atlassian.bamboo.repository
Interface BranchingAwareRepository
- All Superinterfaces:
BambooPluginModule,BuildConfigurationAwarePlugin,ConfigurablePlugin,ConvertibleFromConfig,DescriptionProvider,InitablePluginModule,NameProvider,RenderableBuildConfiguration,Repository,RepositoryV2,Serializable
- All Known Implementing Classes:
SvnRepository
Repository that supports branching operation.
- Since:
- 3.1
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateBranch(long repositoryId, @NotNull String branchName, @NotNull BuildContext buildContext) Creates branch in the repository.Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validateMethods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirementsMethods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfigurationMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
initMethods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtmlMethods inherited from interface com.atlassian.bamboo.repository.Repository
getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKeyMethods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
Method Details
-
createBranch
void createBranch(long repositoryId, @NotNull @NotNull String branchName, @NotNull @NotNull BuildContext buildContext) throws RepositoryException Creates branch in the repository.- Parameters:
branchName- name of new branchbuildContext- build context- Throws:
RepositoryException
-