Class ResourcePatternHint.Builder

java.lang.Object
org.springframework.aot.hint.ResourcePatternHint.Builder
Enclosing class:
ResourcePatternHint

public static class ResourcePatternHint.Builder extends Object
Builder for ResourcePatternHint.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • includes

      public ResourcePatternHint.Builder includes(String... includes)
      Includes the resources matching the specified pattern.
      Parameters:
      includes - the include patterns
      Returns:
      this, to facilitate method chaining
    • excludes

      public ResourcePatternHint.Builder excludes(String... excludes)
      Exclude resources matching the specified pattern.
      Parameters:
      excludes - the excludes pattern
      Returns:
      this, to facilitate method chaining