public static class PluginRegistry.PluginTest extends java.lang.Object implements ResolverUtil.Test
Constructor and Description |
---|
PluginTest() |
Modifier and Type | Method and Description |
---|---|
boolean |
doesMatchClass() |
boolean |
doesMatchResource() |
boolean |
matches(java.lang.Class<?> type)
Will be called repeatedly with candidate classes.
|
boolean |
matches(java.net.URI resource)
Test for a resource.
|
java.lang.String |
toString() |
public boolean matches(java.lang.Class<?> type)
ResolverUtil.Test
matches
in interface ResolverUtil.Test
type
- The Class to match against.public java.lang.String toString()
toString
in class java.lang.Object
public boolean matches(java.net.URI resource)
ResolverUtil.Test
matches
in interface ResolverUtil.Test
resource
- The URI to the resource.public boolean doesMatchClass()
doesMatchClass
in interface ResolverUtil.Test
public boolean doesMatchResource()
doesMatchResource
in interface ResolverUtil.Test