Package io.github.jspinak.brobot.action
Class ActionChainOptions
java.lang.Object
io.github.jspinak.brobot.action.ActionConfig
io.github.jspinak.brobot.action.ActionChainOptions
Configuration for executing a chain of actions with specific chaining behavior.
ActionChainOptions wraps an initial ActionConfig and adds parameters that control how an entire sequence of actions behaves. This includes the chaining strategy (nested vs. confirmed) and the list of subsequent actions to execute.
This design separates the configuration of individual actions from the configuration of how those actions work together, following the Single Responsibility Principle.
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for constructing ActionChainOptions with a fluent API.static enum
Defines how results from one action in the chain relate to the next.Nested classes/interfaces inherited from class io.github.jspinak.brobot.action.ActionConfig
ActionConfig.Illustrate
-
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable view of the chained actions list.Methods inherited from class io.github.jspinak.brobot.action.ActionConfig
getAfterActionLog, getBeforeActionLog, getFailureLog, getIllustrate, getPauseAfterEnd, getPauseBeforeBegin, getSubsequentActions, getSuccessCriteria, getSuccessLog
-
Method Details
-
getChainedActions
Returns an unmodifiable view of the chained actions list.- Returns:
- unmodifiable list of chained actions
-
getInitialAction
-
getStrategy
-