new SourceTargetBuilder()
bitbucket/util/navbuilder.Builder
for URLs that have a source and target branch.
NOTE: The constructor is not exposed. A new instance can be created through the Builder API.
- Source:
Methods
-
sourceBranch(sourceBranchRefId) → {bitbucket/util/navbuilder.SourceTargetBuilder}
-
Parameters:
Name Type Description sourceBranchRefId
string The refId for the source branch.
- Source:
Returns:
-
targetBranch(targetBranchRefId) → {bitbucket/util/navbuilder.SourceTargetBuilder}
-
Parameters:
Name Type Description targetBranchRefId
string The refId for the target branch.
- Source:
Returns:
-
targetRepo(id) → {bitbucket/util/navbuilder.SourceTargetBuilder}
-
Parameters:
Name Type Description id
string The ID (not slug) for the target repository (containing the target branch).
- Source:
Returns: