Interface EngineProperties<T>

Type Parameters:
T - the concrete properties interface type (self-referential bound for fluent APIs)
All Superinterfaces:
org.aeonbits.owner.Config, Serializable
All Known Subinterfaces:
Allure, API, BrowserStack, Cucumber, Flags, Healenium, Internal, Jira, LambdaTest, Log4j, Mobile, Paths, Pattern, Performance, Platform, Reporting, TestNG, Timeouts, Tinkey, Visuals, Web

@HotReload(type=ASYNC) @LoadPolicy(MERGE) public interface EngineProperties<T> extends org.aeonbits.owner.Config
Base interface for all SHAFT engine configuration properties. Built on top of the OWNER library, this interface enforces asynchronous hot-reload and a merge load-policy so that property sources (system properties, files, classpath resources) are combined in priority order.

Every concrete properties interface in SHAFT extends this type and provides a set() method that returns a concrete EngineProperties.SetProperty fluent builder.

Example:

// Access properties via the SHAFT façade
boolean openReport = SHAFT.Properties.allure.automaticallyOpen();
// Override a property at runtime
SHAFT.Properties.allure.set().automaticallyOpen(false);
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Marker interface implemented by every concrete fluent property-override builder.

    Nested classes/interfaces inherited from interface org.aeonbits.owner.Config

    org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass
  • Method Summary

    Modifier and Type
    Method
    Description
    set()
    Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.