Inclusion Specification
A FileInclusionSpecification is at minimum a source-declaration from which files and directories will be included in the server pack to be generated.
Optionally, the following values can be specified:
Destination
Inclusion-filter (regex)
Exclusion-filter (regex)
When a destination is specified, then every file and directory acquired from the source will be copied to the specified destination in the server pack, whereas otherwise the source would be copied to a destination in the server pack matching the name of the source.
Inclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will be included.
Exclusion filters help to further limit the files and directories to be included from the specified source. Any file and directory matching this filter will NOT be included.
Author
Griefed
Functions
Whether this inclusion-spec has a destination in the server-pack-to-be set.
Whether this inclusion-spec has an Exclusion-Filter present.
Whether this inclusion-spec has an Inclusion-Filter present.
Whether this inclusion-spec is a global filter to be applied to every inclusion. A global filter requires the source to be empty and/or blank and an inclusion- or exclusion-filter to be set.