# Interface MFileFilterType

All Known Implementing Classes:
  `MFileFilter`

@Immutable public interface MFileFilterType

A file filter.

If a file is matched by at least one inclusion filter, and not matched by any exclusion filter, then the file will be treated as included.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default boolean`
  `evaluate(String file)`
  Evaluate the filter against the given file name.
  `List<Pattern>`
  `excludes()`
  `List<Pattern>`
  `includes()`

- ## Method Details

  - ### includes

    List<Pattern> includes()
    Returns:
      The filename inclusion patterns

  - ### excludes

    List<Pattern> excludes()
    Returns:
      The filename exclusion patterns

  - ### evaluate

    default boolean evaluate(String file)
    Evaluate the filter against the given file name.
    Parameters:
      `file` - The file name
    Returns:
      `true` iff the filter matched