Package com.diffplug.gradle.eclipse
Class ResourceFilter
java.lang.Object
com.diffplug.gradle.eclipse.ResourceFilter
Models an eclipse resource filter.
-
Method Summary
Modifier and TypeMethodDescriptionThe match will be caseSensitive.static ResourceFilterexclude()Creates a ResourceFilter which excludes the specified resources.files()Sets this resource filter to include files.Sets this resource filter to include files and folders.folders()Sets this resource filter to include folders.inthashCode()static ResourceFilterinclude()Creates a ResourceFilter which includes the specified resources.Matches on `location`, as opposed to `name` and `projectRelativePath`.Matches on `name`, as opposed to `location` and `projectRelativePath`.projectRelativePath(String value) Matches on `projectRelativePath`, as opposed to `name` and `location`.The match will be recursive from the root directory.regex()The match is a regex.
-
Method Details
-
include
Creates a ResourceFilter which includes the specified resources. -
exclude
Creates a ResourceFilter which excludes the specified resources. -
files
Sets this resource filter to include files. -
folders
Sets this resource filter to include folders. -
filesAndFolders
Sets this resource filter to include files and folders. -
name
Matches on `name`, as opposed to `location` and `projectRelativePath`. -
location
Matches on `location`, as opposed to `name` and `projectRelativePath`. -
projectRelativePath
Matches on `projectRelativePath`, as opposed to `name` and `location`. -
caseSensitive
The match will be caseSensitive. -
regex
The match is a regex. -
recursive
The match will be recursive from the root directory. -
hashCode
public int hashCode()
-