Index
All Classes and Interfaces|All Packages|Serialized Form
A
- action(RefSyncAction) - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
- AHEAD - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
-
Indicates the ref could not be synchronized because it is strictly ahead of its upstream.
B
- build() - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
- Builder() - Constructor for class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
C
- com.atlassian.bitbucket.repository.sync - package com.atlassian.bitbucket.repository.sync
- com.atlassian.bitbucket.repository.sync.web.conditions - package com.atlassian.bitbucket.repository.sync.web.conditions
- context(String, Object) - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
- context(Map<String, Object>) - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
D
- DISCARD - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RefSyncAction
-
Synchronizes the ref by discarding the local changes in favour of the upstream changes.
- DIVERGED - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
-
Indicates the ref could not be synchronized because it has diverged from its upstream.
F
- fromId(int) - Static method in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
G
- getAction() - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest
- getAheadRefs() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
-
Retrieves a set of
refs
which arestrictly ahead
of their upstream refs. - getContext() - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest
- getDivergedRefs() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
- getId() - Method in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
- getLastSync() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
-
Retrieves the time at which refs were most recently synchronized from upstream.
- getOrphanedRefs() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
- getRefId() - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest
- getRejectedRefs() - Method in class com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent
- getRepository() - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest
- getState() - Method in interface com.atlassian.bitbucket.repository.sync.RejectedRef
-
Retrieves the state of the ref, which indicates why it could not be synchronized automatically.
- getStatus(Repository) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Retrieves the complete
status
for synchronization of the specified repository, returningnull
if synchronization has not been configured. - getStatus(Repository, String) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Retrieves the
status
a single ref within the specified repository. - getUpstream() - Method in class com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent
- getUpstreamChanges() - Method in class com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent
I
- init(Map<String, String>) - Method in class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingAvailableCondition
- init(Map<String, String>) - Method in class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingEnabledCondition
- isAvailable() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
-
Retrieves a flag indicating whether synchronization is available for the repository.
- isAvailable(Repository) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Retrieves a flag indicating whether ref synchronization can be
enabled
for the specifiedrepository
. - isEnabled() - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncStatus
-
Retrieves a flag indicating whether synchronization is enabled for the repository.
- isEnabled(Repository) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Retrieves a flag indicating whether ref synchronization has been enabled for the specified
repository
. - IsRefSyncingAvailableCondition - Class in com.atlassian.bitbucket.repository.sync.web.conditions
- IsRefSyncingAvailableCondition(RefSyncService) - Constructor for class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingAvailableCondition
- IsRefSyncingEnabledCondition - Class in com.atlassian.bitbucket.repository.sync.web.conditions
- IsRefSyncingEnabledCondition(RefSyncService) - Constructor for class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingEnabledCondition
- isTag() - Method in interface com.atlassian.bitbucket.repository.sync.RejectedRef
-
Retrieves a flag indicating whether this ref is a branch or a tag.
M
- MERGE - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RefSyncAction
-
Synchronizes the ref by merging in upstream changes, producing a new merge commit.
O
- ORPHANED - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
-
Indicates the ref could not be synchronized because it was
ahead of
ordiverged from
its upstream and its upstream has been deleted.
R
- REBASE - Enum constant in enum class com.atlassian.bitbucket.repository.sync.RefSyncAction
-
Synchronizes the ref by rebasing it onto the upstream changes, producing one or more new commits.
- RefAlreadySynchronizedException - Exception in com.atlassian.bitbucket.repository.sync
-
Thrown when attempting to
synchronize
a ref which is already in sync with its upstream. - RefAlreadySynchronizedException(KeyedMessage) - Constructor for exception com.atlassian.bitbucket.repository.sync.RefAlreadySynchronizedException
- refId(String) - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
- RefsSynchronizedEvent - Class in com.atlassian.bitbucket.repository.sync
-
Raised whenever refs are synchronized between two repositories.
- RefsSynchronizedEvent(Object, Repository, Repository, RefChange) - Constructor for class com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent
- RefsSynchronizedEvent(Object, Repository, Collection<RefChange>, Iterable<RejectedRef>, Repository, Iterable<RefChange>) - Constructor for class com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent
- RefSyncAction - Enum Class in com.atlassian.bitbucket.repository.sync
-
Enumerates possible actions which may be performed to bring an
out-of-sync
ref back in sync with its upstream. - RefSyncNotAvailableException - Exception in com.atlassian.bitbucket.repository.sync
-
Thrown when attempting to
enable
synchronization for, orsynchronize
in, a repository for which synchronization is notavailable
. - RefSyncNotAvailableException(KeyedMessage) - Constructor for exception com.atlassian.bitbucket.repository.sync.RefSyncNotAvailableException
- RefSyncNotEnabledException - Exception in com.atlassian.bitbucket.repository.sync
-
Thrown when attempting to
synchronize
a repository for which synchronization is notenabled
. - RefSyncNotEnabledException(KeyedMessage) - Constructor for exception com.atlassian.bitbucket.repository.sync.RefSyncNotEnabledException
- RefSyncRequest - Class in com.atlassian.bitbucket.repository.sync
-
Encapsulates a request to manually synchronize a
ref
which can no longer be automatically synchronized with its upstream. - RefSyncRequest.Builder - Class in com.atlassian.bitbucket.repository.sync
- RefSyncService - Interface in com.atlassian.bitbucket.repository.sync
-
Describes a service for synchronizing refs between
repositories
and their upstream. - RefSyncStatus - Interface in com.atlassian.bitbucket.repository.sync
-
Describes the synchronization status for a given
repository
. - RejectedRef - Interface in com.atlassian.bitbucket.repository.sync
-
Describes a ref which could not be automatically synchronized with its upstream.
- RejectedRefState - Enum Class in com.atlassian.bitbucket.repository.sync
- repository(Repository) - Method in class com.atlassian.bitbucket.repository.sync.RefSyncRequest.Builder
S
- setEnabled(Repository, boolean) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Enables or disables ref synchronization for the specified
repository
. - shouldDisplay(Map<String, Object>) - Method in class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingAvailableCondition
- shouldDisplay(Map<String, Object>) - Method in class com.atlassian.bitbucket.repository.sync.web.conditions.IsRefSyncingEnabledCondition
- synchronize(RefSyncRequest) - Method in interface com.atlassian.bitbucket.repository.sync.RefSyncService
-
Performs a specific
action
to synchronize a ref within a specified repository.
V
- valueOf(String) - Static method in enum class com.atlassian.bitbucket.repository.sync.RefSyncAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.bitbucket.repository.sync.RefSyncAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.bitbucket.repository.sync.RejectedRefState
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form