|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.repository.sequencer.SequencerPathExpression
@Immutable public class SequencerPathExpression
An expression that defines a selection of some change in the repository that signals a sequencing operation should be run, and
the location where the sequencing output should be placed. Sequencer path expressions are used within the
sequencer configurations
and used to determine whether information in the repository needs to be
sequenced.
A simple example is the following:
/a/b/c@title => /d/e/fwhich means that a sequencer (that uses this expression in its configuration) should be run any time there is a new or modified
title
property on the /a/b/c
node, and that the output of the sequencing should be placed at
/d/e/f
.
Nested Class Summary | |
---|---|
static class |
SequencerPathExpression.Matcher
|
Method Summary | |
---|---|
static SequencerPathExpression |
compile(String expression)
Compile the supplied expression and return the resulting SequencerPathExpression instance. |
boolean |
equals(Object obj)
|
String |
getOutputExpression()
|
String |
getSelectExpression()
|
int |
hashCode()
|
SequencerPathExpression.Matcher |
matcher(String absolutePath)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final SequencerPathExpression compile(String expression) throws InvalidSequencerPathExpression
expression
- the expression
IllegalArgumentException
- if the expression is null
InvalidSequencerPathExpression
- if the expression is blank or is not a valid expressionpublic String getSelectExpression()
public String getOutputExpression()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public SequencerPathExpression.Matcher matcher(String absolutePath)
absolutePath
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |