Package org.apache.struts2.util

# Class ResolverUtil.ResourceTest

java.lang.Object
org.apache.struts2.util.ResolverUtil.ResourceTest

All Implemented Interfaces:
  `ResolverUtil.Test`

Direct Known Subclasses:
  `ResolverUtil.NameIs`

Enclosing class:
  ResolverUtil<T>

public abstract static class ResolverUtil.ResourceTest extends Object implements ResolverUtil.Test

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourceTest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `doesMatchClass()`
  `boolean`
  `doesMatchResource()`
  `boolean`
  `matches(Class cls)`
  Will be called repeatedly with candidate classes.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.apache.struts2.util.ResolverUtil.Test

  `matches`

- ## Constructor Details

  - ### ResourceTest

    public ResourceTest()

- ## Method Details

  - ### matches

    public boolean matches(Class cls)
    Description copied from interface: `ResolverUtil.Test`
    Will be called repeatedly with candidate classes.
    Specified by:
      `matches` in interface `ResolverUtil.Test`
    Parameters:
      `cls` - class type
    Returns:
      True if a class is to be included in the results, false otherwise.

  - ### doesMatchClass

    public boolean doesMatchClass()
    Specified by:
      `doesMatchClass` in interface `ResolverUtil.Test`

  - ### doesMatchResource

    public boolean doesMatchResource()
    Specified by:
      `doesMatchResource` in interface `ResolverUtil.Test`