Class ContentRemigrationAction

java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.content.render.xhtml.migration.macro.ContentRemigrationAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class ContentRemigrationAction extends ConfluenceActionSupport
Content migration action displays a count of the number of pages with unmigrated macros and provides access to the MacroMigrationService to migrate them.
See Also:
  • Constructor Details

    • ContentRemigrationAction

      public ContentRemigrationAction()
  • Method Details

    • setMacroMigrationService

      public void setMacroMigrationService(MacroMigrationService migrationService)
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • hasSearchResults

      public boolean hasSearchResults()
    • getNumSearchResults

      public int getNumSearchResults()
    • getTaskId

      public LongRunningTaskId getTaskId()
    • getSearchResults

      public Iterator<SearchResult> getSearchResults()
    • getMaxShownResults

      public int getMaxShownResults()
    • isMigrationRequired

      public boolean isMigrationRequired()