Interface EmbeddedResourceResolver

  • All Known Implementing Classes:
    DefaultEmbeddedResourceResolver

    public interface EmbeddedResourceResolver
    Interface to represent the concern of resolving of a v2 embedded resource into a persistent Attachment object.

    This was introduced to permit unit testing of embedded resource migration. (i.e. it allows for a simple implementation that delegates to EmbeddedResourceUtils).

    • Method Detail

      • resolve

        Attachment resolve​(com.atlassian.renderer.embedded.EmbeddedResource embeddedResource,
                           PageContext pageContext)