Class ExceptionTolerantMigrator.MigrationResult

  • Enclosing interface:
    ExceptionTolerantMigrator

    public static class ExceptionTolerantMigrator.MigrationResult
    extends Object
    Represents the results of an attempted migration.
    Since:
    5.3
    • Constructor Detail

      • MigrationResult

        public MigrationResult​(String content,
                               boolean migrationPerformed)
    • Method Detail

      • getContent

        public String 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

        public List<RuntimeException> getExceptions()
        Returns:
        A list of the exceptions raised during the migration process.
      • isMigrationPerformed

        public boolean isMigrationPerformed()
        Returns:
        an indication of whether or not migration needed to be performed on the input.