org.apache.logging.log4j.core.config.plugins.util
Class PluginType<T>
java.lang.Object
org.apache.logging.log4j.core.config.plugins.util.PluginType<T>
- Type Parameters:
T
- The plug-in class, which can be any kind of class.
- All Implemented Interfaces:
- Serializable
public class PluginType<T>
- extends Object
- implements Serializable
Plugin Descriptor. This is a memento object for Plugin annotations paired to their annotated classes.
- See Also:
Plugin
,
Serialized Form
PluginType
public PluginType(Class<T> clazz,
String name,
boolean printObj,
boolean deferChildren)
getPluginClass
public Class<T> getPluginClass()
getElementName
public String getElementName()
isObjectPrintable
public boolean isObjectPrintable()
isDeferChildren
public boolean isDeferChildren()
toString
public String toString()
- Overrides:
toString
in class Object
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.