public interface ResourceFilter
 apply plugin: 'java'
 apply plugin: 'eclipse'
 eclipse {
   project {
     resourceFilter {
       appliesTo = 'FOLDERS'
       type = 'EXCLUDE_ALL'
       matcher {
         id = 'org.eclipse.ui.ide.multiFilter'
         // to find out which arguments to use, configure the desired
         // filter with Eclipse's UI and copy the arguments string over
         arguments = '1.0-name-matches-false-false-node_modules'
       }
     }
   }
 }
 | Modifier and Type | Method | Description | 
|---|---|---|
| ResourceFilterAppliesTo | getAppliesTo() | Indicates whether this ResourceFilter applies to files, folders, or both. | 
| ResourceFilterMatcher | getMatcher() | Gets the matcher of this ResourceFilter. | 
| ResourceFilterType | getType() | Specifies whether this ResourceFilter is including or excluding resources. | 
| boolean | isRecursive() | Indicates whether this ResourceFilter applies recursively to all children of the project it is created on. | 
| ResourceFilterMatcher | matcher(Action<? super ResourceFilterMatcher> configureAction) | Configures the matcher of this resource filter. | 
| void | setAppliesTo(ResourceFilterAppliesTo appliesTo) | Indicates whether this ResourceFilter applies to files, folders, or both. | 
| void | setRecursive(boolean recursive) | Sets whether this ResourceFilter applies recursively or not. | 
| void | setType(ResourceFilterType type) | Sets the ResourceFilterType | 
ResourceFilterAppliesTo getAppliesTo()
void setAppliesTo(ResourceFilterAppliesTo appliesTo)
InvalidUserDataException - if appliesTo is null.ResourceFilterType getType()
void setType(ResourceFilterType type)
InvalidUserDataException - if type is null.boolean isRecursive()
void setRecursive(boolean recursive)
ResourceFilterMatcher getMatcher()
ResourceFilterMatcher matcher(Action<? super ResourceFilterMatcher> configureAction)
configureAction - The action to use to configure the matcher.