public interface EventFilter
| Modifier and Type | Method and Description |
|---|---|
@Nullable EventFilter |
create(String name,
NodeState before,
NodeState after)
Factory for creating a filter instance for the given child node
|
boolean |
includeAdd(PropertyState after)
Include an added property
|
boolean |
includeAdd(String name,
NodeState after)
Include an added node
|
boolean |
includeChange(PropertyState before,
PropertyState after)
Include a changed property
|
boolean |
includeDelete(PropertyState before)
Include a deleted property
|
boolean |
includeDelete(String name,
NodeState before)
Include a deleted node
|
boolean |
includeMove(String sourcePath,
String name,
NodeState moved)
Include a moved node
|
boolean |
includeReorder(String destName,
String name,
NodeState reordered)
Include a reordered node
|
boolean includeAdd(PropertyState after)
after - added propertytrue if the property should be includedboolean includeChange(PropertyState before, PropertyState after)
before - property before the changeafter - property after the changetrue if the property should be includedboolean includeDelete(PropertyState before)
before - deleted propertytrue if the property should be includedboolean includeAdd(String name, NodeState after)
name - name of the nodeafter - added nodetrue if the node should be includedboolean includeDelete(String name, NodeState before)
name - name of the nodebefore - deleted nodetrue if the node should be includedboolean includeMove(String sourcePath, String name, NodeState moved)
sourcePath - source path of the move operationname - name of the moved nodemoved - the moved nodetrue if the node should be includedboolean includeReorder(String destName, String name, NodeState reordered)
destName - name of the orderBefore() destination nodename - name of the reordered nodereordered - the reordered nodetrue if the node should be included@Nullable @Nullable EventFilter create(String name, NodeState before, NodeState after)
name - name of the child nodebefore - before state of the child nodeafter - after state of the child nodenull to
exclude the sub tree rooted at this child node.Copyright © 2010 - 2020 Adobe. All Rights Reserved