public interface SubscriptionFilter
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Event event)
Determines whether this subscription filter accepts the given
event. |
boolean |
accepts(Subscription subscription)
Determines whether the given
subscription corresponds to the filter criteria of this handler. |
EventInfo |
getInfo()
Returns the filter criteria.
|
boolean accepts(Event event)
event. If it doesn't, this provider
should not be used for subscription retrieval.event - The Event to check.true if this provider accepts the event.boolean accepts(Subscription subscription)
subscription corresponds to the filter criteria of this handler.subscription - The Subscription to check.true if the subscription corresponds to the filter criteria.Copyright © 2010 - 2020 Adobe. All Rights Reserved