org.modeshape.jcr
Class Sequencers.SequencingConfiguration
java.lang.Object
org.modeshape.jcr.Sequencers.SequencingConfiguration
- Enclosing class:
- Sequencers
protected final class Sequencers.SequencingConfiguration
- extends Object
This class represents a single SequencerPathExpression
and the corresponding Sequencer
implementation that
should be used if the path expression matches.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sequencers.SequencingConfiguration
protected Sequencers.SequencingConfiguration(SequencerPathExpression expression,
Sequencer sequencer)
getPathExpression
public SequencerPathExpression getPathExpression()
- Returns:
- pathExpression
getSequencer
public Sequencer getSequencer()
- Returns:
- sequencer
matches
public SequencerPathExpression.Matcher matches(String pathToChangedNode,
Name changedPropertyName)
- Determine if this sequencer configuration matches the supplied changed node and property, meaning the changes should be
sequenced by this sequencer.
- Parameters:
pathToChangedNode
- the path to the added/changed node; may not be nullchangedPropertyName
- the name of the changed property; may not be null
- Returns:
- the matcher that defines whether there's a match, and if so where the sequenced output is to be
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.