com.atlassian.confluence.content.render.xhtml.migration.exceptions
Class ExceptionReport

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.migration.exceptions.ExceptionReport

public class ExceptionReport
extends java.lang.Object

A thread safe repository of exceptions that occurred during the site migration.


Constructor Summary
ExceptionReport()
           
 
Method Summary
 void addException(ContentMigrationException ex)
           
 void addException(PageTemplateMigrationException ex)
           
 void addException(SettingsMigrationException ex)
           
 void addUncategorizedMigrationException(MigrationException ex)
           
 java.util.List<ContentMigrationException> getContentMigrationExceptions()
           
 java.util.List<PageTemplateMigrationException> getPageTemplateExceptions()
           
 java.util.List<SettingsMigrationException> getSettingsMigrationException()
           
 java.util.List<MigrationException> getUncategorizedMigrationExceptions()
           
 boolean isErrored()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionReport

public ExceptionReport()
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 java.util.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 java.util.List<ContentMigrationException> getContentMigrationExceptions()
Returns:
a copy of the list ContentMigrationException exceptions. A client is free to manipulate this list as they wish.

getSettingsMigrationException

public java.util.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 java.util.List<MigrationException> getUncategorizedMigrationExceptions()
Returns:
a copy of the list of general MigrationException exceptions. A client is free to manipulate this list as they wish.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.