| 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.RepositoryCreateRequest.Builder | ||
Constructs requests for creating new repositories.
| [Expand] Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder | |||||||||||
|  From class
com.atlassian.bitbucket.util.BuilderSupport | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Builds a  requestfrom the assembled values. | |||||||||||
| Sets the project in which the repository will be created. | |||||||||||
| Sets the SCM to be used by the new repository. | |||||||||||
| 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 | |||||||||||
Builds a request from the assembled values. Before the request is built,
 it is first verified that a name, project and
 SCM ID were specified, and an exception is thrown if any are missing.
| IllegalStateException | if the nameorSCM IDare blank
                               (empty, or containing only whitespace), or theproject(Project)isnull | 
|---|
Sets the project in which the repository will be created.
 Note: This value is required. If this method is not called prior to building the
 request, an exception will be thrown.
| value | the destination project | 
|---|
this| NullPointerException | if the provided valueisnull | 
|---|
Sets the SCM to be used by the new repository.
 Note: This value is required. If this method is not called prior to building the
 request, an exception will be thrown.
| value | the SCM used to handle the repository | 
|---|
this| IllegalArgumentException | if the provided valueis empty or contains only whitespace | 
|---|---|
| NullPointerException | if the provided valueisnull | 
Overridden in concrete builder implementations to return this.
this