public class VcsRepositoryIdentifier extends EntityPropertiesBuilder<VcsRepositoryIdentifierProperties>
The exact semantics of this class depends on the context in which it is used. In particular, possible values can be restricted only to repositories that are linked to particular plan. In other contexts a reference to any global repository is allowed.
| Constructor and Description |
|---|
VcsRepositoryIdentifier() |
VcsRepositoryIdentifier(@NotNull BambooOid oid)
References repository by oid.
|
VcsRepositoryIdentifier(@NotNull String name)
References repository by name.
|
| Modifier and Type | Method and Description |
|---|---|
protected VcsRepositoryIdentifierProperties |
build() |
VcsRepositoryIdentifier |
name(@NotNull String name)
References repository by name.
|
VcsRepositoryIdentifier |
oid(@NotNull BambooOid oid)
References repository by oid.
|
VcsRepositoryIdentifier |
oid(@NotNull String oid)
References repository by oid.
|
public VcsRepositoryIdentifier()
throws PropertiesValidationException
PropertiesValidationExceptionpublic VcsRepositoryIdentifier(@NotNull
@NotNull String name)
throws PropertiesValidationException
PropertiesValidationExceptionpublic VcsRepositoryIdentifier(@NotNull
@NotNull BambooOid oid)
throws PropertiesValidationException
In many contexts, e.g. when linking repository to a plan, it will be matched to both repository's oid and parent oid.
PropertiesValidationExceptionpublic VcsRepositoryIdentifier name(@NotNull @NotNull String name) throws PropertiesValidationException
PropertiesValidationExceptionpublic VcsRepositoryIdentifier oid(@NotNull @NotNull String oid) throws PropertiesValidationException
In many contexts, e.g. when linking repository to a plan, it will be matched to both repository's oid and parent oid.
PropertiesValidationExceptionpublic VcsRepositoryIdentifier oid(@NotNull @NotNull BambooOid oid) throws PropertiesValidationException
In many contexts, e.g. when linking repository to a plan, it will be matched to both repository's oid and parent oid.
PropertiesValidationExceptionprotected VcsRepositoryIdentifierProperties build() throws PropertiesValidationException
build in class EntityPropertiesBuilder<VcsRepositoryIdentifierProperties>PropertiesValidationExceptionCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.