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
job
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
int
Methods inherited from class com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
getDuration, getJobId
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods 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:
true
if all project AND all repositories have been selected for export
-
getSelectorCount
public int getSelectorCount()- Returns:
- the number of project/repository tuples selected for export
-