Class PackageFilter
java.lang.Object
io.wcm.tooling.commons.contentpackagebuilder.PackageFilter
Filter for AEM content package. Defines which content parts of the content package should be extracted when
installing the package, and optionally rules can define further includes/excludes when doing this. Please refer to
the AEM documentation for full details what is possible with package filters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludeRule(String pattern) Add exclude rule.addIncludeRule(String pattern) Add include rule.Get root path.getRules()Get defined rules.
-
Constructor Details
-
PackageFilter
Create filter with root path.- Parameters:
rootPath- Root path
-
-
Method Details
-
getRootPath
Get root path.- Returns:
- Root path
-
addIncludeRule
Add include rule.- Parameters:
pattern- Rule pattern- Returns:
- this
-
addExcludeRule
Add exclude rule.- Parameters:
pattern- Rule pattern- Returns:
- this
-
getRules
Get defined rules.- Returns:
- Get include/exclude rules
-