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>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
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
Description copied from interface:ResolverUtil.Test
Will be called repeatedly with candidate classes.- Specified by:
matches
in interfaceResolverUtil.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 interfaceResolverUtil.Test
-
doesMatchResource
public boolean doesMatchResource()- Specified by:
doesMatchResource
in interfaceResolverUtil.Test
-