Package com.deltawalker.script
Interface PathFilter
- All Superinterfaces:
Filter,FolderFilter
A folder comparison filter that excludes or includes files and folders
whose name or path matches a shell or regular expression. Created with
Filters.addPathFilter(boolean, FolderFilter.Target, String, boolean, boolean, String).-
Nested Class Summary
Nested classes/interfaces inherited from interface com.deltawalker.script.FolderFilter
FolderFilter.Target -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnswers whether names and paths are matched case-sensitively.booleanAnswers whether this filter excludes or includes resources with matching names or paths.booleanAnswers whether the expression defining this filter is a regular or a shell expression.Methods inherited from interface com.deltawalker.script.Filter
getDescription, getDisplayExpression, getExpression, isEnabledMethods inherited from interface com.deltawalker.script.FolderFilter
getTarget
-
Method Details
-
isCaseSensitive
boolean isCaseSensitive()Answers whether names and paths are matched case-sensitively.- Returns:
truefor a case-sensitive match,falseotherwise.
-
isExclude
boolean isExclude()Answers whether this filter excludes or includes resources with matching names or paths.- Returns:
trueif this is an exclusion filter,falseotherwise.
-
isRegexType
boolean isRegexType()Answers whether the expression defining this filter is a regular or a shell expression.- Specified by:
isRegexTypein interfaceFilter- Returns:
truein the case of a regular expression,falsein the case of a shell expression.
-