Class AbstractInstanceMigrationEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.migration.event.AbstractInstanceMigrationEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MeshMigrationFinishedEvent,- MeshMigrationStartedEvent,- MigrationExportFinishedEvent,- MigrationExportStartedEvent,- MigrationImportStartedEvent
Abstract superclass for Data Center Migration events.
- Since:
- 5.13
- See Also:
- 
Field SummaryFieldsFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.atlassian.bitbucket.event.ApplicationEventgetDate, getUserMethods inherited from class java.util.EventObjectgetSource, toString
- 
Field Details- 
job
 
- 
- 
Constructor Details- 
AbstractInstanceMigrationEvent
 
- 
- 
Method Details- 
getDurationpublic long getDuration()- Returns:
- Processing duration of the job since completion if JobState.isTerminated()returnstrueotherwise time elapsed since the job started
 
- 
getJobIdpublic long getJobId()- Returns:
- return the Jobthat this event refers to
 
 
-