Interface Context<T>

Type Parameters:
T - the type of context value
All Superinterfaces:
Extension
All Known Implementing Classes:
FreemarkerContext, JacksonContext, MarkdownContext, RandomUidContext, ReportInfoContext
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Context<T> extends Extension
Report context. Can be added via plugins and used from report configuration. JacksonContext context = configuration.requireContext(JacksonContext.class) ObjectMapper mapper = context.getValue();
Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the context value.
  • Method Details

    • getValue

      T getValue()
      Returns the context value.
      Returns:
      the context value.