Class RepositoryMirrorSynchronizedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent
com.atlassian.bitbucket.event.mirror.RepositoryMirrorSynchronizedEvent
- All Implemented Interfaces:
MirrorEvent,RepositoryMirrorEvent,Serializable
This event signals that a
Repository has been synchronized on a mirror- Since:
- 5.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.util.EventObject
source -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent
getMirrorServerId, getMirrorServerName, getRepositoryMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Method Details
-
getCloneLinks
- Returns:
- a collection of links that can be used to clone the repository from this mirror
- Since:
- 6.7
-
getFailedRefs
- Returns:
- a collection of refs which failed to update on the mirror
-
getRefChanges
- Returns:
- a collection of refs successfully updated on the mirror
-
getSyncType
- Returns:
- the type of synchronization that was performed
- Since:
- 6.7
-
isRefLimitExceeded
public boolean isRefLimitExceeded()- Returns:
- true if amount of refs exceeded its limit which results in an empty list of ref changes; false otherwise
- Since:
- 6.7
-