org.apache.logging.log4j.core.config.plugins
Class ResolverUtil.ClassTest

java.lang.Object
  extended by org.apache.logging.log4j.core.config.plugins.ResolverUtil.ClassTest
All Implemented Interfaces:
ResolverUtil.Test
Direct Known Subclasses:
PluginManager.PluginTest, ResolverUtil.AnnotatedWith, ResolverUtil.IsA, ResolverUtil.NameEndsWith
Enclosing class:
ResolverUtil<T>

public abstract static class ResolverUtil.ClassTest
extends Object
implements ResolverUtil.Test

Test against a Class.


Constructor Summary
ResolverUtil.ClassTest()
           
 
Method Summary
 boolean doesMatchClass()
           
 boolean doesMatchResource()
           
 boolean matches(URI resource)
          Test for a resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.logging.log4j.core.config.plugins.ResolverUtil.Test
matches
 

Constructor Detail

ResolverUtil.ClassTest

public ResolverUtil.ClassTest()
Method Detail

matches

public boolean matches(URI resource)
Description copied from interface: ResolverUtil.Test
Test for a resource.

Specified by:
matches in interface ResolverUtil.Test
Parameters:
resource - The URI to the resource.
Returns:
true if the resource 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-2012 Apache Software Foundation. All Rights Reserved.