Class ContentUnpackerProperties
java.lang.Object
io.wcm.tooling.commons.packmgr.unpack.ContentUnpackerProperties
Configuration properties for
ContentUnpacker.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets a fixed date to be used for the "lastReplicated" property when setting replication status to "activated".String[]Exclude filesString[]Exclude mixinsString[]Exclude nodesString[]Exclude propertiesString[]Node path filter expressions to apply "activated" status on.booleanSet replication status to "activated" for all cq:Page and cq:Template nodes.voidsetDateLastReplicated(String dateLastReplicated) voidsetExcludeFiles(String[] excludeFiles) voidsetExcludeMixins(String[] excludeMixins) voidsetExcludeNodes(String[] excludeNodes) voidsetExcludeProperties(String[] excludeProperties) voidsetMarkReplicationActivated(boolean markReplicationActivated) voidsetMarkReplicationActivatedIncludeNodes(String[] markReplicationActivatedIncludeNodes)
-
Constructor Details
-
ContentUnpackerProperties
public ContentUnpackerProperties()
-
-
Method Details
-
getExcludeFiles
Exclude files- Returns:
- Name patterns
-
setExcludeFiles
- Parameters:
excludeFiles- Exclude files
-
getExcludeNodes
Exclude nodes- Returns:
- Name patterns
-
setExcludeNodes
- Parameters:
excludeNodes- Exclude nodes
-
getExcludeProperties
Exclude properties- Returns:
- Name patterns
-
setExcludeProperties
- Parameters:
excludeProperties- Exclude properties
-
getExcludeMixins
Exclude mixins- Returns:
- Name patterns
-
setExcludeMixins
- Parameters:
excludeMixins- Exclude mixins
-
isMarkReplicationActivated
public boolean isMarkReplicationActivated()Set replication status to "activated" for all cq:Page and cq:Template nodes.- Returns:
- Set replication status
-
setMarkReplicationActivated
public void setMarkReplicationActivated(boolean markReplicationActivated) - Parameters:
markReplicationActivated- Set replication status to "activated" for all cq:Page and cq:Template nodes.
-
getMarkReplicationActivatedIncludeNodes
Node path filter expressions to apply "activated" status on.- Returns:
- Path patterns
-
setMarkReplicationActivatedIncludeNodes
- Parameters:
markReplicationActivatedIncludeNodes- Node path filter expressions to apply "activated" status on
-
getDateLastReplicated
Sets a fixed date to be used for the "lastReplicated" property when setting replication status to "activated". If not set the current date is used.- Returns:
- Date in ISO8601 format. Example:
2020-01-01T00:00:00.000+02:00.
-
setDateLastReplicated
- Parameters:
dateLastReplicated- Sets a fixed date to be used for the "lastReplicated" property when setting replication status to "activated".
-