Package io.qameta.allure.gradle.base
Class AllureExtension
-
- All Implemented Interfaces:
public abstract class AllureExtensionProvides API for configuring common properties for Allure.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringNAMEpublic final static ERROR CLASS: Unresolved name: DEFAULT_ALLURE3DEFAULT_ALLURE3public final static ERROR CLASS: Unresolved name: DEFAULT_ALLURE2DEFAULT_ALLURE2private final Property<String>versionprivate final MapProperty<String, Object>environmentprivate Booleanaspectjweaverprivate Booleanautoconfigure
-
Constructor Summary
Constructors Constructor Description AllureExtension(ObjectFactory objects)
-
Method Summary
Modifier and Type Method Description final Property<String>getVersion()Allure report runtime version. abstract MapProperty<String, Object>getEnvironment()Default environment variables for launching Allure runtime commands. final BooleangetAspectjweaver()final UnitsetAspectjweaver(Boolean value)final BooleangetAutoconfigure()final UnitsetAutoconfigure(Boolean value)-
-
Method Detail
-
getVersion
final Property<String> getVersion()
Allure report runtime version.
2.xselects the Allure 2allure-commandlineruntime.3.xselects the Allure 3 runtime.
-
getEnvironment
abstract MapProperty<String, Object> getEnvironment()
Default environment variables for launching Allure runtime commands.
-
getAspectjweaver
final Boolean getAspectjweaver()
-
setAspectjweaver
final Unit setAspectjweaver(Boolean value)
-
getAutoconfigure
final Boolean getAutoconfigure()
-
setAutoconfigure
final Unit setAutoconfigure(Boolean value)
-
-
-
-