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, incrementpublic 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 - 2023 Adobe. All Rights Reserved