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, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregister, unregisterpublic 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
AbstractJcrEventTriggerprocessEvent in class AbstractJcrEventTriggerevent - an Event to be processedDistributionRequest originated by processing the event,
or null if no request could be generatedjavax.jcr.RepositoryExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.