Class PluginType<T>
java.lang.Object
org.apache.logging.log4j.plugins.model.PluginType<T>
- Type Parameters:
T
- The plug-in class, which can be any kind of class.
Plugin Descriptor. This is a memento object for Plugin annotations paired to their annotated classes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPluginType
(PluginEntry pluginEntry, Class<T> pluginClass) Constructor.PluginType
(PluginEntry pluginEntry, ClassLoader classLoader) The Constructor. -
Method Summary
-
Constructor Details
-
PluginType
Constructor.- Parameters:
pluginEntry
- The PluginEntry.pluginClass
- The plugin Class.- Since:
- 3.0.0
-
PluginType
The Constructor.- Parameters:
pluginEntry
- The PluginEntry.- Since:
- 3.0.0
-
-
Method Details
-
getPluginEntry
-
getPluginClass
-
getElementType
-
getKey
Return The plugin's key.- Returns:
- The plugin key.
- Since:
- 2.1
-
isObjectPrintable
public boolean isObjectPrintable() -
isDeferChildren
public boolean isDeferChildren() -
getNamespace
Return the plugin namespace.- Returns:
- the Plugin namespace.
- Since:
- 2.1
-
getName
-
getElementName
-
toString
-