Class BitbucketCloudBranchCreator
java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.v2.AbstractBitbucketCloudExecutor
com.atlassian.bamboo.plugins.bitbucket.v2.BitbucketCloudBranchCreator
- All Implemented Interfaces:
VcsBranchCreator
public class BitbucketCloudBranchCreator
extends AbstractBitbucketCloudExecutor
implements VcsBranchCreator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createBranch
(@NotNull VcsRepositoryData repositoryData, @NotNull String branchName, @NotNull String vcsRevisionKey, @Nullable String checkoutLocation, @Nullable BuildLogger buildLogger) Creates new branch from revision vcsRevisionKey with given branchName.Methods inherited from class com.atlassian.bamboo.plugins.bitbucket.v2.AbstractBitbucketCloudExecutor
bitbucketCloudToUnderlyingVcsData, getUnderlyingVcsModuleDescriptor, setVcsRepositoryManager
-
Constructor Details
-
BitbucketCloudBranchCreator
public BitbucketCloudBranchCreator()
-
-
Method Details
-
createBranch
public void createBranch(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String branchName, @NotNull @NotNull String vcsRevisionKey, @Nullable @Nullable String checkoutLocation, @Nullable @Nullable BuildLogger buildLogger) throws RepositoryException Description copied from interface:VcsBranchCreator
Creates new branch from revision vcsRevisionKey with given branchName. If code was checked out during job - checkout location will be given If called from something having build context (like task) - build logger may be given for some logs in result- Specified by:
createBranch
in interfaceVcsBranchCreator
- Throws:
RepositoryException
-