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.
|Modifier and Type||Method and Description|
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.
trueif the category path should be added.