Interface SourceDirectoryUrlFilter

All Known Implementing Classes:
DefaultSourceDirectoryUrlFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SourceDirectoryUrlFilter
Filter URLs based on a source directory name. Used to match URLs from the running classpath against source directory on a remote system.
Since:
2.3.0
Author:
Phillip Webb
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isMatch(String sourceDirectory, URL url)
    Determine if the specified URL matches a source directory.
  • Method Details

    • isMatch

      boolean isMatch(String sourceDirectory, URL url)
      Determine if the specified URL matches a source directory.
      Parameters:
      sourceDirectory - the source directory
      url - the URL to check
      Returns:
      true if the URL matches