public interface IncludesFileCriteria extends FileCriteria
Modifier and Type | Method and Description |
---|---|
void |
addRegexFilter(java.lang.String filter)
After processing includes, then excludes, filters are applied last to
remove remaining files that match the specified regular expression.
|
void |
exclude(java.lang.String filePattern)
Excludes files matching the file pattern from the file patter.
|
java.util.Set<java.lang.String> |
getExcludes()
Returns the file patterns that are excluded.
|
java.util.Set<FilePattern> |
getIncludePatterns()
Returns the file patterns that are included, returned as FilePattern
objects, which allow a required minimum number of matching files to be
found when using wildcard file patterns.
|
java.util.Set<java.lang.String> |
getIncludes()
Returns the file patterns that are included, returned as String objects.
|
java.util.Set<java.lang.String> |
getRegexFilters()
Returns the regular expressions that filters out files.
|
void |
include(java.lang.String filePattern)
Includes files matching the specified file pattern.
|
void |
include(java.lang.String filePattern,
int minimumCount)
Includes files matching the specified file pattern and minimum count,
which allow a required minimum number of matching files to be found
when using wildcard file patterns.
|
getHost, setHost
void addRegexFilter(java.lang.String filter)
filter
- The regular expression used to filter out files.java.lang.IllegalArgumentException
- If the argument is null or empty.void exclude(java.lang.String filePattern)
filePattern
- The file pattern to which files are matched.java.lang.IllegalArgumentException
- If the argument is null or empty.java.util.Set<java.lang.String> getExcludes()
java.util.Set<FilePattern> getIncludePatterns()
java.util.Set<java.lang.String> getIncludes()
java.util.Set<java.lang.String> getRegexFilters()
void include(java.lang.String filePattern)
filePattern
- The file pattern to which files are matched.java.lang.IllegalArgumentException
- If the argument is null or empty.void include(java.lang.String filePattern, int minimumCount)
filePattern
- The file pattern to which files are matched.minimumCount
- The number of files that must be matched.java.lang.IllegalArgumentException
- If filePattern is null or empty or minimumCount is negative.© 2000-2025 Flux Corporation. All rights reserved.