public interface PathPolicy extends Serializable
CategoryParentsStream
, where a given
category is added to the stream, and than all its parents are being
added one after the other by successively removing the last component. DefaultOrdinalPolicy
.Modifier and Type | Method and Description |
---|---|
boolean |
shouldAdd(CategoryPath categoryPath)
Check whether a given category path should be added to the stream.
|
boolean shouldAdd(CategoryPath categoryPath)
categoryPath
- A given category path which is to be tested for stream
addition.true
if the category path should be added.
false
otherwise.