Class IgnoreModeSettingsBuilder
java.lang.Object
com.aquima.interactions.process.impl.builder.IgnoreModeSettingsBuilder
A builder for an
IIgnoreModeSettings
implementation that falls back to a global setting if an ignore mode is
not configured for a specific application.
The default global setting is IgnoreMode.DEFAULT
.- Since:
- 9.8.5
- Author:
- Petru Galanton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
setIgnoreMode
(IgnoreMode mode) Sets the global ignore mode.setIgnoreMode
(String appName, IgnoreMode mode) Sets the ignore mode for the application with the provided name.
-
Constructor Details
-
IgnoreModeSettingsBuilder
public IgnoreModeSettingsBuilder()
-
-
Method Details
-
setIgnoreMode
Sets the global ignore mode.- Parameters:
mode
- the global ignore mode. May be null, in which caseIgnoreMode.DEFAULT
is used.- Returns:
- this builder for method chaining
-
setIgnoreMode
Sets the ignore mode for the application with the provided name.- Parameters:
appName
- the name of the applicationmode
- the ignore mode used for this application. May be null, in which caseIgnoreMode.DEFAULT
is used.- Returns:
- this builder for method chaining
-
build
-