Class ResourceFilter


  • public class ResourceFilter
    extends Object
    Models an eclipse resource filter.
    • Method Detail

      • include

        public static ResourceFilter include()
        Creates a ResourceFilter which includes the specified resources.
      • exclude

        public static ResourceFilter exclude()
        Creates a ResourceFilter which excludes the specified resources.
      • files

        public ResourceFilter files()
        Sets this resource filter to include files.
      • folders

        public ResourceFilter folders()
        Sets this resource filter to include folders.
      • filesAndFolders

        public ResourceFilter filesAndFolders()
        Sets this resource filter to include files and folders.
      • name

        public ResourceFilter name​(String value)
        Matches on `name`, as opposed to `location` and `projectRelativePath`.
      • location

        public ResourceFilter location​(String value)
        Matches on `location`, as opposed to `name` and `projectRelativePath`.
      • projectRelativePath

        public ResourceFilter projectRelativePath​(String value)
        Matches on `projectRelativePath`, as opposed to `name` and `location`.
      • caseSensitive

        public ResourceFilter caseSensitive()
        The match will be caseSensitive.
      • recursive

        public ResourceFilter recursive()
        The match will be recursive from the root directory.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object