The objective is to offer more flexibility for defining the subset of the folder hierarchy to be processed. This is accomplished by offering a variable list of powerful rules.
The tool offers the following new properties:
Property name | Description | Editors | Default |
---|---|---|---|
Process these folders | Defines the ‘initial' set of folders that should be processed
by the submit hierarchy tool; this set can be adjusted by
defining one or more rules in subsequent properties Possible values are: |
Dropdown list | All folders |
Adjusted by (rule 1) | Defines a rule for adjusting the set of folders that should be processed by including or excluding folders | Dropdown list | None |
.. Folder name | A pattern for the folder name to be included or excluded | Folder patterns Regular expression Script expression | Empty |
.. On levels | The level or range of levels to which this rule applies, in the same format as the old "Subfolder range" property | Single-line text | Empty |
.. Restriction | Defines an optional restriction on the parent or ancestors for the folder in this rule | Dropdown list | None |
.... Parent name or .... Ancestor name |
A pattern for the folder name of the parent or ancestor | Folder patterns Regular expression Script expression | Empty |
.. Nesting | Defines whether this rule operates on all nested subfolders of the target folder, or just on the target folder itself | Dropdown list | "Don't include…" or "Exclude…" |
Adjusted by (rule 2) .... Adjusted by (rule 5) |
Same as rule 1 with an identical set of dependent properties |
The rules are applied in the same order as they are specified. It is perfectly possible for a rule to exclude folders that were included by a previous rule, or vice versa.
These rules will process all jobs in folders A/C and A/B, but not in folder C/C (because it was excluded in the second rule), and not in any of the other folders (because they were never included to begin with).
Reversing the order of the rules would change the result (files in folder C/C will be processed as well), because excluding something from an empty set has no effect.
Property name | Value for "Process only these folders" | Value for "Skip these folders" |
---|---|---|
Adjusted by | "Excluding folders not named" | "Excluding folders named" |
.. Folder name | The value of the "Process only these folders" property |
The value of the "Skip these folders" property |
.. On levels | The value of the corresponding dependent property | The value of the corresponding dependent property |
.. Restriction | "None" | "None" |
.. Nesting | "Exclude nested subfolders as well" | "Exclude nested subfolders as well" |
These values should produce the same behavior as in the previous Switch version.