public class EventFilterImpl extends Object implements org.apache.jackrabbit.spi.EventFilter, Serializable
EventFilterImpl is the simple bean style implementation of an
EventFilter.| Constructor and Description |
|---|
EventFilterImpl(int eventTypes,
org.apache.jackrabbit.spi.Path absPath,
boolean isDeep,
String[] uuids,
Set<org.apache.jackrabbit.spi.Name> nodeTypeNames,
boolean noLocal)
Creates a new
EventFilterImpl. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.apache.jackrabbit.spi.Event event,
boolean isLocal) |
org.apache.jackrabbit.spi.Path |
getAbsPath() |
int |
getEventTypes() |
Set<org.apache.jackrabbit.spi.Name> |
getNodeTypeNames() |
boolean |
getNoLocal() |
String[] |
getUUIDs() |
boolean |
isDeep() |
String |
toString()
Returns a string representation of this EventFilter instance.
|
public EventFilterImpl(int eventTypes,
org.apache.jackrabbit.spi.Path absPath,
boolean isDeep,
String[] uuids,
Set<org.apache.jackrabbit.spi.Name> nodeTypeNames,
boolean noLocal)
EventFilterImpl.eventTypes - the event types this filter is interested in.absPath - filter events that are below this path.isDeep - whether this filter is applied deep.uuids - the jcr:uuid of the nodes this filter allows.nodeTypeNames - the Names of the already resolved node types this
filter allows.noLocal - whether this filter accepts local events or not.public boolean accept(org.apache.jackrabbit.spi.Event event,
boolean isLocal)
accept in interface org.apache.jackrabbit.spi.EventFilterpublic int getEventTypes()
public boolean isDeep()
true if this event filter is deep.public org.apache.jackrabbit.spi.Path getAbsPath()
public String[] getUUIDs()
null if
this filter does not care about uuids.public Set<org.apache.jackrabbit.spi.Name> getNodeTypeNames()
null if
this filter does not care about node types.public boolean getNoLocal()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.