|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
public static class PluginManager.PluginTest
A Test that checks to see if each class is annotated with a specific annotation. If it is, then the test returns true, otherwise false.
Constructor Summary | |
---|---|
PluginManager.PluginTest(Class<?> isA)
Constructs an AnnotatedWith test for the specified annotation type. |
Method Summary | |
---|---|
boolean |
doesMatchClass()
|
boolean |
doesMatchResource()
|
boolean |
matches(Class<?> type)
Returns true if the type is annotated with the class provided to the constructor. |
boolean |
matches(URI resource)
Test for a resource. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PluginManager.PluginTest(Class<?> isA)
isA
- The class to compare against.Method Detail |
---|
public boolean matches(Class<?> type)
matches
in interface ResolverUtil.Test
type
- The type to check for.
public String toString()
toString
in class Object
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 Apache Software Foundation. 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.