java.lang.Object | |
↳ | com.atlassian.bitbucket.repository.AbstractRepositoryRequest |
Known Direct Subclasses |
Base class for Repository
-related request classes.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractRepositoryRequest.AbstractBuilder<B extends AbstractBuilder<B>> | Base class for creating builders for repository -related requests. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
for removal in 7.0 without replacement
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The description for the repository.
| |||||||||||
The name for the repository.
| |||||||||||
Retrieves a flag indicating whether the repository should be
forkable . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constructor is deprecated.
for removal in 7.0 without replacement
The description for the repository. How this is used depends on the request type:
RepositoryCreateRequest
: Sets the description for the new repositoryRepositoryForkRequest
: Sets the description for the new forkRepositoryUpdateRequest
: Updates the repository's description. The name for the repository. How this is used depends on the request type:
RepositoryCreateRequest
: Sets the name (and slug) for the new repositoryRepositoryForkRequest
: Sets the name (and slug) for the new forkRepositoryUpdateRequest
: Updates the repository's name, which may also change its slug.
Changing a repository's slug will update all of its URLs, including its clone URLslug
regardless of the
request type.Retrieves a flag indicating whether the repository should be forkable
. How this
is used depends on the request type:
RepositoryCreateRequest
: Sets whether the new repository will be forkableRepositoryForkRequest
: Sets whether the new fork itself be forkableRepositoryUpdateRequest
: Updates whether an existing repository is forkabletrue
if the repository should be forkable; otherwise, false
to disable forking
true
if the project will be made publicly accessible, false
otherwise.