Class AbstractChecksumGeneratorOptions
java.lang.Object
com.adobe.acs.commons.analysis.jcrchecksum.impl.options.AbstractChecksumGeneratorOptions
- All Implemented Interfaces:
ChecksumGeneratorOptions
- Direct Known Subclasses:
CustomChecksumGeneratorOptions,DefaultChecksumGeneratorOptions,RequestChecksumGeneratorOptions
@ProviderType
public abstract class AbstractChecksumGeneratorOptions
extends Object
implements ChecksumGeneratorOptions
Provides options to configure how to generate checksums using
ChecksumGenerator.-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface com.adobe.acs.commons.analysis.jcrchecksum.ChecksumGeneratorOptions
DATA, NODE_NAME_EXCLUDES, NODE_TYPE_EXCLUDES, NODES_TYPES, PATHS, PROPERTY_EXCLUDES, QUERY, QUERY_TYPE, SORTED_PROPERTIES, SUB_TREE_EXCLUDES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExcludedNodeNames(String... data) voidaddExcludedNodeTypes(String... data) voidaddExcludedProperties(String... data) voidaddExcludedSubTrees(String... data) voidaddIncludedNodeTypes(String... data) voidaddSortedProperties(String... data) For a node to be checksumable, its primaryType must exists in getIncludedNodesTypes() and not exist in getExcludedNodeTypes().toString()
-
Field Details
-
includedNodeTypes
-
excludedNodeTypes
-
excludedProperties
-
sortedProperties
-
excludedNodeNames
-
excludedSubTrees
-
-
Constructor Details
-
AbstractChecksumGeneratorOptions
public AbstractChecksumGeneratorOptions()
-
-
Method Details
-
addIncludedNodeTypes
-
getIncludedNodeTypes
Description copied from interface:ChecksumGeneratorOptionsFor a node to be checksumable, its primaryType must exists in getIncludedNodesTypes() and not exist in getExcludedNodeTypes().- Specified by:
getIncludedNodeTypesin interfaceChecksumGeneratorOptions- Returns:
- the nodes types which are candidates for aggregation.
-
addExcludedNodeTypes
-
getExcludedNodeTypes
- Specified by:
getExcludedNodeTypesin interfaceChecksumGeneratorOptions- Returns:
- the node types which are not candidates for aggregation and cannot be aggregated under aggregation candidates.
-
addExcludedProperties
-
getExcludedProperties
- Specified by:
getExcludedPropertiesin interfaceChecksumGeneratorOptions- Returns:
- the property names that should not be included as part of the checksum hash
-
addSortedProperties
-
getSortedProperties
- Specified by:
getSortedPropertiesin interfaceChecksumGeneratorOptions- Returns:
- the property names whose multi-value order as defined in the JCR should be respected.
-
getExcludedNodeNames
- Specified by:
getExcludedNodeNamesin interfaceChecksumGeneratorOptions- Returns:
- the nodeNames to exclude (sub-nodes WILL be traverse/checksumed)
-
addExcludedNodeNames
-
getExcludedSubTrees
- Specified by:
getExcludedSubTreesin interfaceChecksumGeneratorOptions- Returns:
- the named node subTrees to exclude (the matching node and any sub-nodes will NOT be traversed/checksumed)
-
addExcludedSubTrees
-
toString
-