ResolverUtil.Test
public static class PluginRegistry.PluginTest extends Object implements ResolverUtil.Test
Constructor | Description |
---|---|
PluginTest() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
doesMatchClass() |
|
boolean |
doesMatchResource() |
|
boolean |
matches(Class<?> type) |
Will be called repeatedly with candidate classes.
|
boolean |
matches(URI resource) |
Test for a resource.
|
String |
toString() |
public boolean matches(Class<?> type)
ResolverUtil.Test
matches
in interface ResolverUtil.Test
type
- The Class to match against.public boolean matches(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
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.