com.opensymphony.xwork2.util

## Interface ResolverUtil.Test

- All Known Implementing Classes:
    ResolverUtil.AnnotatedWith, ResolverUtil.ClassTest, ResolverUtil.IsA, ResolverUtil.NameEndsWith, ResolverUtil.NameIs, ResolverUtil.ResourceTest
  Enclosing class:
    ResolverUtil<T>

      public static interface ResolverUtil.Test

  A simple interface that specifies how to test classes to determine if they are to be included in the results produced by the ResolverUtil.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `doesMatchClass()`
    `boolean` | `doesMatchResource()`
    `boolean` | `matches(Class type)` Will be called repeatedly with candidate classes.
    `boolean` | `matches(URL resource)`

- - ### Method Detail

    - #### matches

          boolean matches(Class type)

      Will be called repeatedly with candidate classes.
      Parameters:
        `type` - class type
      Returns:
        True if a class is to be included in the results, false otherwise.

    - #### matches

          boolean matches(URL resource)

    - #### doesMatchClass

          boolean doesMatchClass()

    - #### doesMatchResource

          boolean doesMatchResource()

Copyright © 2000–2019 Apache Software Foundation. All rights reserved.