Class ResourcePatternHint

java.lang.Object
org.springframework.aot.hint.ResourcePatternHint

public final class ResourcePatternHint extends Object
A hint that describes resources that should be made available at runtime.

The patterns may be a simple path which has a one-to-one mapping to a resource on the classpath, or alternatively may contain the special * character to indicate a wildcard search.

Since:
6.0
Author:
Stephane Nicoll
  • Method Details

    • getIncludes

      public List<String> getIncludes()
      Return the include patterns to use to identify the resources to match.
      Returns:
      the include patterns
    • getExcludes

      public List<String> getExcludes()
      Return the exclude patterns to use to identify the resources to match.
      Returns:
      the exclude patterns