public abstract class PredefinedBucket extends SimpleBucket
PredefinedBucket
is a bucket that is backed by some
definition and decides itself which values to accept
.Constructor and Description |
---|
PredefinedBucket(Predicate predicate,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
abstract void |
acceptValue(Value value)
Accepts the
value and increments the counter of this bucket
if the value matches this buckets definition. |
getCount, getPredicate, getValue, increment
public PredefinedBucket(Predicate predicate, java.lang.String name)
public abstract void acceptValue(Value value) throws RepositoryException
value
and increments the counter of this bucket
if the value
matches this buckets definition.value
- the value to accept.RepositoryException
- if an error occurs while reading from the
repository.Copyright © 2010 - 2020 Adobe. All Rights Reserved