Class BrobotConfiguration
java.lang.Object
io.github.jspinak.brobot.config.core.BrobotConfiguration
@Configuration
@ConfigurationProperties(prefix="brobot")
public class BrobotConfiguration
extends Object
Unified configuration system for Brobot with validation and environment-specific profiles. This
replaces scattered configuration with a cohesive, validated system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCore configuration settingsstatic classEnvironment-specific configurationstatic classPerformance tuning configurationstatic classSikuliX-specific configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyProfile(String profile) Get configuration for a specific profileprotected booleanGet a diagnostic report of the current configuration Method name doesn't follow getter convention to avoid Spring property bindingbooleangetCore()Get effective ExecutionEnvironment based on configurationinthashCode()booleanCheck if running in a specific profilevoidvoidsetEnvironment(BrobotConfiguration.EnvironmentConfig environment) voidsetPerformance(BrobotConfiguration.PerformanceConfig performance) voidtoString()voidvalidate()Validate configuration after properties are bound
-
Constructor Details
-
BrobotConfiguration
public BrobotConfiguration()
-
-
Method Details
-
validate
public void validate()Validate configuration after properties are bound -
getExecutionEnvironment
Get effective ExecutionEnvironment based on configuration -
isProfile
Check if running in a specific profile -
applyProfile
Get configuration for a specific profile -
diagnosticReport
Get a diagnostic report of the current configuration Method name doesn't follow getter convention to avoid Spring property binding -
getCore
-
getSikuli
-
getEnvironment
-
getPerformance
-
setCore
-
setSikuli
-
setEnvironment
-
setPerformance
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-