public interface PathPolicy extends Serializable
categories
should be added as terms to
the DrillDownStream
. The default approach is implemented by
ALL_CATEGORIES
.Modifier and Type | Field and Description |
---|---|
static PathPolicy |
ALL_CATEGORIES
A
PathPolicy which adds all CategoryPath that have at least
one component (i.e. |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldAdd(CategoryPath categoryPath)
Check whether a given category path should be added to the stream.
|
static final PathPolicy ALL_CATEGORIES
PathPolicy
which adds all CategoryPath
that have at least
one component (i.e. CategoryPath.length
> 0) to the categories
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-2013 Apache Software Foundation. All Rights Reserved.