java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.macro.MacroMigrationService

public class MacroMigrationService extends Object
Provides a way to find and migrate pages with the unmigrated wiki markup macro.
  • Constructor Details

  • Method Details

    • migrateAll

      public @Nullable LongRunningTaskId migrateAll() throws InvalidSearchException
      Attempt to migrate all instances of the unmigrated wiki markup macro to the new xhtml format. Updates the migration required field, setting it to false.
      Throws:
      InvalidSearchException
    • isMigrating

      public boolean isMigrating()
    • getLastMigrationId

      public LongRunningTaskId getLastMigrationId()
    • findPagesWithUnmigratedMacros

      public SearchResults findPagesWithUnmigratedMacros(int maxResults) throws InvalidSearchException
      Throws:
      InvalidSearchException
    • updateMigrationRequired

      public void updateMigrationRequired()
    • isMigrationRequired

      public boolean isMigrationRequired()
    • setAdminTaskIgnored

      public void setAdminTaskIgnored(boolean ignoreIt)
    • isAdminTaskIgnored

      public boolean isAdminTaskIgnored()