Class ExceptionReport
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReport
-
public class ExceptionReport extends Object
A thread safe repository of exceptions that occurred during the site migration.
-
-
Constructor Summary
Constructors Constructor Description ExceptionReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addException(ContentMigrationException ex)
void
addException(PageTemplateMigrationException ex)
void
addException(SettingsMigrationException ex)
void
addUncategorizedMigrationException(MigrationException ex)
List<ContentMigrationException>
getContentMigrationExceptions()
List<PageTemplateMigrationException>
getPageTemplateExceptions()
List<SettingsMigrationException>
getSettingsMigrationException()
List<MigrationException>
getUncategorizedMigrationExceptions()
boolean
isErrored()
String
toString()
-
-
-
Method Detail
-
addException
public void addException(PageTemplateMigrationException ex)
-
addException
public void addException(ContentMigrationException ex)
-
addException
public void addException(SettingsMigrationException ex)
-
addUncategorizedMigrationException
public void addUncategorizedMigrationException(MigrationException ex)
-
isErrored
public boolean isErrored()
- Returns:
- true if there are any exceptions recorded in the report
-
getPageTemplateExceptions
public List<PageTemplateMigrationException> getPageTemplateExceptions()
- Returns:
- a copy of the list of PageTemplate exceptions. A client is free to manipulate this list as they wish.
-
getContentMigrationExceptions
public List<ContentMigrationException> getContentMigrationExceptions()
- Returns:
- a copy of the list ContentMigrationException exceptions. A client is free to manipulate this list as they wish.
-
getSettingsMigrationException
public List<SettingsMigrationException> getSettingsMigrationException()
- Returns:
- a copy of the list of SettingsMigrationException exceptions. A client is free to manipulate this list as they wish.
-
getUncategorizedMigrationExceptions
public List<MigrationException> getUncategorizedMigrationExceptions()
- Returns:
- a copy of the list of general MigrationException exceptions. A client is free to manipulate this list as they wish.
-
-