| java.lang.Object | |||
| ↳ | com.atlassian.bitbucket.util.BuilderSupport | ||
| ↳ | com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder<B extends com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder<B>> | ||
| ↳ | com.atlassian.bitbucket.repository.RepositoryUpdateRequest.Builder | ||
Constructs requests for updating repositories.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder
| |||||||||||
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
Builder which will update the specified Repository. | |||||||||||
Constructs a new
Builder which uses as its defaults all the values from the provided request. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a
request from the assembled values. | |||||||||||
Sets the
ID of the repository to be updated. | |||||||||||
Sets the
project the repository should be moved to. | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Overridden in concrete builder implementations to return
this. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder
| |||||||||||
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new Builder which will update the specified Repository. The following values
are copied:
| repository | the repository to update, and from which all default values should be drawn |
|---|
Constructs a new Builder which uses as its defaults all the values from the provided request.
| request | the request to copy into the new builder |
|---|
Builds a request from the assembled values. Before the request is built,
it is first verified that a name was specified and an exception is thrown if it was
not.
| IllegalStateException | if the name is null, empty or contains only
whitespace
|
|---|
Sets the ID of the repository to be updated.
Note: This value is required. If the ID specified does not match an existing repository, or if this
method is not called prior to building, an exception will be thrown when attempting to
perform the update.
| value | the repository's ID |
|---|
this
Overridden in concrete builder implementations to return this.
this