Package com.day.cq.workflow.predicate
Class DialogPredicate
- java.lang.Object
-
- com.day.cq.commons.predicate.AbstractNodePredicate
-
- com.day.cq.workflow.predicate.DialogPredicate
-
- All Implemented Interfaces:
Predicate
@Service(Predicate.class) @Property(name="predicate.name", value="dialog") public class DialogPredicate extends AbstractNodePredicate implements Predicate
Predicate used to filter dialog nodes for user selection.
-
-
Constructor Summary
Constructors Constructor Description DialogPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(Node node)
Evaluates this predicate on the given node.-
Methods inherited from class com.day.cq.commons.predicate.AbstractNodePredicate
evaluate
-
-
-
-
Method Detail
-
evaluate
public boolean evaluate(Node node) throws RepositoryException
Evaluates this predicate on the given node.- Specified by:
evaluate
in classAbstractNodePredicate
- Parameters:
node
- the node- Returns:
true
if node must not behidden
- Throws:
RepositoryException
- if an error during evaluation occurs
-
-