public class JcrEventDistributionTrigger extends AbstractJcrEventTrigger implements DistributionTrigger
DistributionTrigger
.Constructor and Description |
---|
JcrEventDistributionTrigger(org.apache.sling.jcr.api.SlingRepository repository,
org.apache.sling.commons.scheduler.Scheduler scheduler,
org.apache.sling.api.resource.ResourceResolverFactory resolverFactory,
String path,
boolean deep,
String serviceName,
String[] ignoredPathsPatterns) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.sling.distribution.DistributionRequest |
processEvent(javax.jcr.observation.Event event)
process the received event and generates a distribution request
|
disable, enable, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register, unregister
public JcrEventDistributionTrigger(org.apache.sling.jcr.api.SlingRepository repository, org.apache.sling.commons.scheduler.Scheduler scheduler, org.apache.sling.api.resource.ResourceResolverFactory resolverFactory, String path, boolean deep, String serviceName, String[] ignoredPathsPatterns)
protected org.apache.sling.distribution.DistributionRequest processEvent(javax.jcr.observation.Event event) throws javax.jcr.RepositoryException
AbstractJcrEventTrigger
processEvent
in class AbstractJcrEventTrigger
event
- an Event
to be processedDistributionRequest
originated by processing the event,
or null
if no request could be generatedjavax.jcr.RepositoryException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.