Package com.atlassian.confluence.upgrade
Class AttachmentMigrationAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.upgrade.AttachmentMigrationAnalyticsEvent
-
@AsynchronousPreferred public class AttachmentMigrationAnalyticsEvent extends Object
Used when theAttachmentMigratorToV4
runs a migration, requiring analytics.- Since:
- 8.2
- See Also:
AttachmentMigratorToV4
,AttachmentMigratorToV4Reporter
-
-
Constructor Summary
Constructors Constructor Description AttachmentMigrationAnalyticsEvent(int numDuplicates, int numFailedToMigrate, int numCores, String migrationResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMigrationResult()
Get the outcome of the migrationint
getNumCores()
Get number of cores nominated to perform migrationint
getNumDuplicates()
Get number of attachments stored in multiple locationsint
getNumFailedToMigrate()
Get number of stored files that are not attachments
-
-
-
Constructor Detail
-
AttachmentMigrationAnalyticsEvent
public AttachmentMigrationAnalyticsEvent(int numDuplicates, int numFailedToMigrate, int numCores, String migrationResult)
-
-
Method Detail
-
getNumDuplicates
public int getNumDuplicates()
Get number of attachments stored in multiple locations- Returns:
- number of duplicated attachments
-
getNumFailedToMigrate
public int getNumFailedToMigrate()
Get number of stored files that are not attachments- Returns:
- number of Non-attachment files
-
getNumCores
public int getNumCores()
Get number of cores nominated to perform migration- Returns:
- number of cores used to migrate
-
getMigrationResult
public String getMigrationResult()
Get the outcome of the migration- Returns:
- String: "completed", "completedWithWarnings", or "interrupted", based on outcome of migration
-
-