Interface Platform

All Superinterfaces:
org.aeonbits.owner.Config, EngineProperties<Platform>, Serializable

@Sources({"system:properties","file:src/main/resources/properties/ExecutionPlatform.properties","file:src/main/resources/properties/default/ExecutionPlatform.properties","classpath:ExecutionPlatform.properties"}) public interface Platform extends EngineProperties<Platform>
Configuration properties interface for execution platform settings in the SHAFT framework. Controls the target execution address, port, and operating-system configuration.

Use set() to override values programmatically:

SHAFT.Properties.platform.set().executionAddress("localhost:4444");
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     

    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
     
    boolean
     
    boolean
     
     
    boolean
     
     
    boolean
    Enables per-endpoint session throttling based on detected Selenium Grid slot capacity.
    boolean
    Enables Selenium Grid status and GraphQL preflight checks before remote session creation.
    boolean
    Fails remote session startup when Grid preflight proves the requested capabilities cannot run.
    int
    Timeout, in seconds, for each Selenium Grid preflight endpoint call.
    set()
    Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.
     
  • Method Details

    • crossBrowserMode

      @Key("SHAFT.CrossBrowserMode") @DefaultValue("off") String crossBrowserMode()
    • executionAddress

      @Key("executionAddress") @DefaultValue("local") String executionAddress()
    • targetPlatform

      @Key("targetOperatingSystem") @DefaultValue("Linux") String targetPlatform()
    • proxy

      @Key("com.SHAFT.proxySettings") @DefaultValue("") String proxy()
    • driverProxySettings

      @Key("driverProxySettings") @DefaultValue("true") boolean driverProxySettings()
    • jvmProxySettings

      @Key("jvmProxySettings") @DefaultValue("true") boolean jvmProxySettings()
    • enableBiDi

      @Key("enableBiDi") @DefaultValue("true") boolean enableBiDi()
    • remotePreflightEnabled

      @Key("remotePreflightEnabled") @DefaultValue("false") boolean remotePreflightEnabled()
      Enables Selenium Grid status and GraphQL preflight checks before remote session creation.
      Returns:
      true when remote Grid preflight checks are enabled
    • remoteAdaptiveSessionThrottling

      @Key("remoteAdaptiveSessionThrottling") @DefaultValue("false") boolean remoteAdaptiveSessionThrottling()
      Enables per-endpoint session throttling based on detected Selenium Grid slot capacity.
      Returns:
      true when SHAFT should throttle local remote-session creation
    • remotePreflightFailFast

      @Key("remotePreflightFailFast") @DefaultValue("false") boolean remotePreflightFailFast()
      Fails remote session startup when Grid preflight proves the requested capabilities cannot run.
      Returns:
      true when incompatible Grid capacity should fail before session creation
    • remotePreflightTimeoutSeconds

      @Key("remotePreflightTimeoutSeconds") @DefaultValue("5") int remotePreflightTimeoutSeconds()
      Timeout, in seconds, for each Selenium Grid preflight endpoint call.
      Returns:
      preflight HTTP timeout in seconds
    • set

      default Platform.SetProperty set()
      Description copied from interface: EngineProperties
      Returns a fluent EngineProperties.SetProperty builder that allows programmatic override of individual configuration properties at runtime.
      Specified by:
      set in interface EngineProperties<Platform>
      Returns:
      a new EngineProperties.SetProperty instance for chaining property overrides