java.lang.Object | |
↳ | com.atlassian.bitbucket.repository.RepositorySearchRequest |
Request for searching repositories. The purpose and behaviour of each field is described on its accessor.
The term "prefix-match", when used in this documentation, describes a string matching process that satisfies the following criteria:
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RepositorySearchRequest.Builder |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
When set, limits returned
repositories to only those that prefix-match the provided
value according to the rules described in the class header. | |||||||||||
When set, limits returned
repositories to only those for which the current user has the
required Permission . | |||||||||||
When set, limits returned
repositories to only those, whose project's name prefix-match
the provided value. | |||||||||||
When set, limits returned
repositories to only those that are in the specified state. | |||||||||||
When set, limits returned
repositories to only those which match the specified
visibility . | |||||||||||
Retrieves a flag indicating whether
name text has been set. | |||||||||||
Retrieves a flag indicating whether a specific
permission has been set. | |||||||||||
Retrieves a flag indicating whether
getProjectName() projectName} text has been set. | |||||||||||
Retrieves a flag indicating whether
getState() state} has been set. | |||||||||||
Retrieves a flag indicating whether a specific
visibility has been set. | |||||||||||
Checks whether this request is considered empty, that is, none of the filters have been set.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
When set, limits returned repositories
to only those that prefix-match the provided
value according to the rules described in the class header.
If this field is not set, it is assumed that all repositories shall be returned, regardless of the repository
name. Applying the projectName
filter would still limit the results to matching project names in such
case.
null
to return
repositories regardless of name.When set, limits returned repositories
to only those for which the current user has the
required Permission
. The provided value may be null
, in which case a default permission
REPO_READ
will be used.
null
to default to REPO_READ
When set, limits returned repositories
to only those, whose project's name prefix-match
the provided value.
If this field is not set, it is assumed that all repositories shall be returned, regardless of the project name. Applying other filters would still limit the final results in such case.
When set, limits returned repositories
to only those that are in the specified state. The
provided value may be null
, in which case no additional restriction is applied to the search.
null
When set, limits returned repositories
to only those which match the specified
visibility
. The provided value may be null
, in which case no
additional restriction is applied to the search.
null
to return repositories regardless of visibility.Retrieves a flag indicating whether a specific permission
has been set. If no explicit
permission has been set, the search will default to REPO_READ
.
true
if getPermission()
is not null
, false
otherwiseRetrieves a flag indicating whether getProjectName()
projectName} text has been set.
true
if getName()
is not null
or whitespace, false
otherwise
Retrieves a flag indicating whether getState()
state} has been set.
true
if getState()
()} is not null
, false
otherwiseRetrieves a flag indicating whether a specific visibility
has been set.
true
if getVisibility()
is not null
, false
otherwiseChecks whether this request is considered empty, that is, none of the filters have been set.
request
have been set, false
otherwise