Class MigrationExportStartedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
com.atlassian.bitbucket.migration.event.MigrationExportStartedEvent
- All Implemented Interfaces:
Serializable
@AsynchronousPreferred
public class MigrationExportStartedEvent
extends AbstractInstanceMigrationEvent
Event that is raised when an Data Center Migration export has been started.
- Since:
- 5.13
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
jobFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanintMethods inherited from class com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
getDuration, getJobIdMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MigrationExportStartedEvent
-
-
Method Details
-
getEntireProjectSelectedCount
public long getEntireProjectSelectedCount()- Returns:
- the number of selectors that specify a project with all of its repositories
-
getSelectAll
public boolean getSelectAll()- Returns:
trueif all project AND all repositories have been selected for export
-
getSelectorCount
public int getSelectorCount()- Returns:
- the number of project/repository tuples selected for export
-