Class CuratorYamlConfig
- java.lang.Object
-
- com.funnelback.publicui.search.model.curator.config.CuratorYamlConfig
-
public class CuratorYamlConfig extends java.lang.Object
CuratorYamlConfig represents the configuration of the curator system which can be used to modify result presentation under certain conditions as it was represented in yaml in v13.0.0. This format was changed to JSON (and changed to a list rather than a map with non-string keys) in v13.4 to avoid problems in the JSON representation.- Since:
- 13.4
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<Trigger,ActionSet>
triggerActions
The map of triggers and associated actions for this curator configuration.
-
Constructor Summary
Constructors Constructor Description CuratorYamlConfig()
CuratorYamlConfig(java.util.Map<Trigger,ActionSet> triggerActions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<Trigger,ActionSet>
getTriggerActions()
The map of triggers and associated actions for this curator configuration.void
setTriggerActions(java.util.Map<Trigger,ActionSet> triggerActions)
The map of triggers and associated actions for this curator configuration.java.util.List<TriggerActions>
toTriggerActions()
Convert the internal map into a TriggerAction list compatible with the new format.
-
-
-
Method Detail
-
toTriggerActions
public java.util.List<TriggerActions> toTriggerActions()
Convert the internal map into a TriggerAction list compatible with the new format.
- Since:
- 14.0
-
getTriggerActions
public java.util.Map<Trigger,ActionSet> getTriggerActions()
The map of triggers and associated actions for this curator configuration.
The actions will be performed when a request matching the given trigger is detected.
- Since:
- 13.4
-
-