Class ChangeSetBuilder
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.observation.ChangeSetBuilder
-
public class ChangeSetBuilder extends java.lang.Object
Builder of a ChangeSet - only used by ChangeCollectorProvider (and tests..)
-
-
Constructor Summary
Constructors Constructor Description ChangeSetBuilder(int maxItems, int maxPathDepth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSetBuilder
add(@Nullable ChangeSet cs)
ChangeSetBuilder
addNodeType(java.lang.String nodeType)
ChangeSetBuilder
addNodeTypes(java.lang.Iterable<java.lang.String> nodeTypes)
ChangeSetBuilder
addParentNodeName(java.lang.String parentNodeName)
ChangeSetBuilder
addParentNodeType(java.lang.String parentNodeType)
ChangeSetBuilder
addParentNodeTypes(java.lang.Iterable<java.lang.String> nodeTypes)
ChangeSetBuilder
addParentPath(java.lang.String path)
ChangeSetBuilder
addPropertyName(java.lang.String propertyName)
ChangeSet
build()
int
getMaxPrefilterPathDepth()
boolean
isAllNodeTypeOverflown()
boolean
isParentNodeNameOverflown()
boolean
isParentNodeTypeOverflown()
boolean
isParentPathOverflown()
boolean
isPropertyNameOverflown()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isParentPathOverflown
public boolean isParentPathOverflown()
-
addParentPath
public ChangeSetBuilder addParentPath(java.lang.String path)
-
isParentNodeNameOverflown
public boolean isParentNodeNameOverflown()
-
addParentNodeName
public ChangeSetBuilder addParentNodeName(java.lang.String parentNodeName)
-
isParentNodeTypeOverflown
public boolean isParentNodeTypeOverflown()
-
addParentNodeTypes
public ChangeSetBuilder addParentNodeTypes(java.lang.Iterable<java.lang.String> nodeTypes)
-
addParentNodeType
public ChangeSetBuilder addParentNodeType(java.lang.String parentNodeType)
-
isPropertyNameOverflown
public boolean isPropertyNameOverflown()
-
addPropertyName
public ChangeSetBuilder addPropertyName(java.lang.String propertyName)
-
isAllNodeTypeOverflown
public boolean isAllNodeTypeOverflown()
-
addNodeTypes
public ChangeSetBuilder addNodeTypes(java.lang.Iterable<java.lang.String> nodeTypes)
-
addNodeType
public ChangeSetBuilder addNodeType(java.lang.String nodeType)
-
getMaxPrefilterPathDepth
public int getMaxPrefilterPathDepth()
-
add
public ChangeSetBuilder add(@Nullable @Nullable ChangeSet cs)
-
build
public ChangeSet build()
-
-