| java.lang.Object | |
| ↳ | com.atlassian.bitbucket.web.conditions.HasPersonalForkCondition |
A condition for detecting whether the current user has a personal fork for a given repository.
Note: Unlike IsPersonalProjectCondition and IsPersonalRepositoryCondition, this condition always
checks whether the current user has a personal fork of the repository and there is no mode to include forks from
other users.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | REPOSITORY | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Ignored, as this condition does not support any parameters for controlling its behaviour.
| |||||||||||
Retrieves a flag indicating whether the current user has a personal fork of the repository, which is expected
to be present in the provided
context under the key "repository". | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.web.Condition
| |||||||||||
Ignored, as this condition does not support any parameters for controlling its behaviour.
| params | ignored |
|---|
Retrieves a flag indicating whether the current user has a personal fork of the repository, which is expected
to be present in the provided context under the key "repository".
| context | the context containing the repository |
|---|
true if the current user has a personal fork of the context repository; otherwise, false