Interface StructuredDataProvider

  • All Known Implementing Classes:
    StructuredData, TextSnapshot
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @API(status=STABLE)
    public interface StructuredDataProvider
    Tagging interface for classes that can provide an instance of StructuredData. This is mostly useful in order for the IDE to list all available snapshot data formats by inspecting the sub-type hierarchy of this interface.

    Note that StructuredData itself implements this interface. This allows to pass both a concrete instance of StructuredData or a dedicated builder implementation to the snapshot DSL.

    Author:
    Simon Taddiken