Interface ContentHolder<T>

Type Parameters:
T - the type of the content
All Known Implementing Classes:
Entry, MergedEntry

public interface ContentHolder<T>
A holder which has the content and its EntryType.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the content.
    default JsonNode
    Returns the JSON representation of the specified content.
    default <U> U
    contentAsJson(Class<U> valueType)
    Returns the value converted from the JSON representation of the specified content.
    default String
    Returns the prettified textual representation of the specified content.
    default String
    Returns the textual representation of the specified content.
    Returns the EntryType of the content.