java.lang.Object | ||
↳ | com.atlassian.bitbucket.util.BuilderSupport | |
↳ | com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder<B extends com.atlassian.bitbucket.repository.AbstractRepositoryRequest.AbstractBuilder<B>> |
Known Direct Subclasses |
Base class for creating builders for repository
-related requests.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
forkable | This field is deprecated. will be private in 7.0 | ||||||||||
name | This field is deprecated. will be private in 7.0 | ||||||||||
publiclyAccessible | This field is deprecated. will be private in 7.0 |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the description of the repository.
| |||||||||||
Sets whether the request should mark the repository forkable or not.
| |||||||||||
Sets the name to be used for the request.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Overridden in concrete builder implementations to return
this . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
|
This field is deprecated.
will be private in 7.0
This field is deprecated.
will be private in 7.0
This field is deprecated.
will be private in 7.0
Sets the description of the repository.
value | the description of the repository |
---|
this
Sets whether the request should mark the repository forkable or not. If this method is not called prior to
building the request, its value defaults to true
and the repository will be forkable by default.
value | true to mark the repository as forkable, or false to disable forking |
---|
this
Sets the name to be used for the request. The provided value may not be null
, empty or contain only
whitespace or an exception will be thrown.
Note: This value is required. If this method is not called prior to building the request, an exception will be thrown.
value | the name for the repository |
---|
this
IllegalArgumentException | if the provided value is empty or contains only whitespace |
---|---|
NullPointerException | if the provided value is null
|
value | whether the repository will be publicly accessible or not. |
---|
this
Overridden in concrete builder implementations to return this
.
this