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 class
Core configuration settingsstatic class
Environment-specific configurationstatic class
Performance tuning configurationstatic class
SikuliX-specific configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyProfile
(String profile) Get configuration for a specific profileprotected boolean
Get a diagnostic report of the current configuration Method name doesn't follow getter convention to avoid Spring property bindingboolean
getCore()
Get effective ExecutionEnvironment based on configurationint
hashCode()
boolean
Check if running in a specific profilevoid
void
setEnvironment
(BrobotConfiguration.EnvironmentConfig environment) void
setPerformance
(BrobotConfiguration.PerformanceConfig performance) void
toString()
void
validate()
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
-