Skip to content

Commit 211d8f2

Browse files
authored
no default strategy (#2478)
Signed-off-by: Mark Herwege <[email protected]>
1 parent 45e62b1 commit 211d8f2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: configuration/persistence.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ The syntax is as follows:
156156

157157
```java
158158
Items {
159-
<itemlist1> : [strategy = <strategy1>, <strategy2>, ...] [filter = <filter1>, <filter2>, ...]
160-
<itemlist2> : [strategy = <strategyX>, <strategyY>, ...]
159+
<itemlist1> : strategy = <strategy1>, <strategy2>, ... [filter = <filter1>, <filter2>, ...]
160+
<itemlist2> : strategy = <strategyX>, <strategyY>, ...
161161
...
162162

163163
}
@@ -176,6 +176,10 @@ The entries are additive.
176176
This means if one Item appears in more than one `<itemlist>` either directly or indirectly (e.g. `*` which includes all Items or as a member of a Group used in `<groupName>*`), all the strategies strategies listed on all those lines apply to that Item.
177177
In the same way, an Item defined by a `!<itemName>` or `!<groupName>*` will be excluded after all additive rules have been applied.
178178

179+
For each `<itemlist>`, you need to define one or more strategies to apply.
180+
You can use the predefined strategies, or the strategies defined in the `Strategies` section.
181+
Defining filters is optional.
182+
179183
### Aliases
180184

181185
This section defines alternative names for items that will be used in storage by the persistence service.

0 commit comments

Comments
 (0)