io.qameta.allure.Context Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of allure-plugin-api Show documentation
Show all versions of allure-plugin-api Show documentation
Module allure-plugin-api of Allure Framework.
package io.qameta.allure;
/**
* Report context. Can be added via plugins and used from
* report configuration.
*
*
* JacksonContext context = configuration.requireContext(JacksonContext.class)
* ObjectMapper mapper = context.getValue();
*
*
* @see io.qameta.allure.context.JacksonContext
* @see io.qameta.allure.context.MarkdownContext
* @see io.qameta.allure.context.FreemarkerContext
* @see io.qameta.allure.context.RandomUidContext
* @since 2.0
*/
@FunctionalInterface
public interface Context extends Extension {
/**
* Returns the context value.
*
* @return the context value.
*/
T getValue();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy