info.magnolia.module.observation.commands
Class RestrictToNodeTypeEventListener
java.lang.Object
info.magnolia.module.observation.commands.CommandEventListener
info.magnolia.module.observation.commands.RestrictToNodeTypeEventListener
- All Implemented Interfaces:
- BaseConfiguration, javax.jcr.observation.EventListener
- Direct Known Subclasses:
- RegexEventListener
public class RestrictToNodeTypeEventListener
- extends CommandEventListener
- implements BaseConfiguration
Event listener class that implements the restrict path to node type behavior.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictToNodeTypeEventListener
public RestrictToNodeTypeEventListener()
getPath
protected String getPath(javax.jcr.observation.Event event)
throws javax.jcr.RepositoryException
- Overrides:
getPath
in class CommandEventListener
- Throws:
javax.jcr.RepositoryException
getNodeType
public String getNodeType()
setNodeType
public void setNodeType(String nodeType)
getConfiguration
public ObservationConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface BaseConfiguration
setConfiguration
public void setConfiguration(ObservationConfiguration obs)
- Specified by:
setConfiguration
in interface BaseConfiguration
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.