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 ClassesNested 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 TypeMethodDescriptionbooleanbooleanbooleanproxy()booleanEnables per-endpoint session throttling based on detected Selenium Grid slot capacity.booleanEnables Selenium Grid status and GraphQL preflight checks before remote session creation.booleanFails remote session startup when Grid preflight proves the requested capabilities cannot run.intTimeout, in seconds, for each Selenium Grid preflight endpoint call.default Platform.SetPropertyset()Returns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.
-
Method Details
-
crossBrowserMode
-
executionAddress
-
targetPlatform
-
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:
truewhen 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:
truewhen 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:
truewhen 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
Description copied from interface:EnginePropertiesReturns a fluentEngineProperties.SetPropertybuilder that allows programmatic override of individual configuration properties at runtime.- Specified by:
setin interfaceEngineProperties<Platform>- Returns:
- a new
EngineProperties.SetPropertyinstance for chaining property overrides
-