org.apache.logging.log4j.core.config.plugins
Class ResolverUtil.ResourceTest
java.lang.Object
org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
- All Implemented Interfaces:
- ResolverUtil.Test
- Direct Known Subclasses:
- ResolverUtil.NameIs
- Enclosing class:
- ResolverUtil
public abstract static class ResolverUtil.ResourceTest
- extends Object
- implements ResolverUtil.Test
Test against a resource.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResolverUtil.ResourceTest
public ResolverUtil.ResourceTest()
matches
public boolean matches(Class<?> cls)
- Description copied from interface:
ResolverUtil.Test
- Will be called repeatedly with candidate classes. Must return True if a class
is to be included in the results, false otherwise.
- Specified by:
matches
in interface ResolverUtil.Test
- Parameters:
cls
- The Class to match against.
- Returns:
- true if the Class matches.
doesMatchClass
public boolean doesMatchClass()
- Specified by:
doesMatchClass
in interface ResolverUtil.Test
doesMatchResource
public boolean doesMatchResource()
- Specified by:
doesMatchResource
in interface ResolverUtil.Test
Copyright © 1999-2013 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.