Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.logging.log4j.core.config.plugins.util
Interface ResolverUtil.Test

All Known Implementing Classes:
  PluginRegistry.PluginTest

Enclosing class:
  ResolverUtil

    public static interface ResolverUtil.Test

A simple interface that specifies how to test classes to determine if they are to be included in the results produced by the ResolverUtil.

Method Summary
`boolean` | `doesMatchClass()`
`boolean` | `doesMatchResource()`
`boolean` | `matches(Class<?> type)` Will be called repeatedly with candidate classes.
`boolean` | `matches(URI resource)` Test for a resource.

Method Detail

### matches

    boolean matches(Class<?> type)

  Will be called repeatedly with candidate classes. Must return True if a class is to be included in the results, false otherwise.

  Parameters:
    `type` - The Class to match against.
  Returns:
    true if the Class matches.

### matches

    boolean matches(URI resource)

  Test for a resource.

  Parameters:
    `resource` - The URI to the resource.
  Returns:
    true if the resource matches.

### doesMatchClass

    boolean doesMatchClass()

### doesMatchResource

    boolean doesMatchResource()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2015 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.