Package io.qameta.allure
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.
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
-
Method Details
-
getValue
T getValue()Returns the context value.- Returns:
- the context value.
-