java.lang.Object
com.atlassian.confluence.content.render.xhtml.storage.InlineTasksUtils

public class InlineTasksUtils extends Object
Utilities to parse Inline Tasks
Since:
4.3
  • Constructor Details

    • InlineTasksUtils

      public InlineTasksUtils()
  • Method Details

    • getRequiredResources

      public static List<DataSource> getRequiredResources(DataSourceFactory dataSourceFactory, String htmlContent)
      Returns the inline task DataSource resources required for the specified content. Can be used for:
      • Watch notification email (see DiffInlineTaskMarshaller
      • Like notification email
      • Task assignment email
      • Popular content email
      Parameters:
      dataSourceFactory - DataSourceFactory to retrieve resources
      htmlContent - html formatted content in which inline tasks may appear
      Returns:
      a list of the inline task resources required by the specified content