Serializable
DefaultPathPolicy
, NonTopLevelPathPolicy
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 | 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.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.