Class ExceptionTolerantMigrator.MigrationResult
java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.ExceptionTolerantMigrator.MigrationResult
- Enclosing interface:
- ExceptionTolerantMigrator
Represents the results of an attempted migration.
- Since:
- 5.3
- 
Constructor SummaryConstructorsConstructorDescriptionMigrationResult(String content, boolean migrationPerformed) MigrationResult(String content, boolean migrationPerformed, List<RuntimeException> exceptions) 
- 
Method SummaryModifier and TypeMethodDescriptionboolean
- 
Constructor Details- 
MigrationResultpublic MigrationResult(String content, boolean migrationPerformed, List<RuntimeException> exceptions) 
- 
MigrationResult
 
- 
- 
Method Details- 
getContent- Returns:
- The migrated content. Note that if the list of exceptions returned by getExceptions()is not empty, then the resulting content may not be complete or correct.
 
- 
getExceptions- Returns:
- A list of the exceptions raised during the migration process.
 
- 
isMigrationPerformedpublic boolean isMigrationPerformed()- Returns:
- an indication of whether or not migration needed to be performed on the input.
 
 
-