Class NamedQualifierNameProvider
java.lang.Object
org.apache.logging.log4j.plugins.name.NamedQualifierNameProvider
- All Implemented Interfaces:
AnnotatedElementAliasesProvider<Named>
,AnnotatedElementNameProvider<Named>
public class NamedQualifierNameProvider
extends Object
implements AnnotatedElementNameProvider<Named>, AnnotatedElementAliasesProvider<Named>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAliases
(Named annotation) getSpecifiedName
(Named annotation) Returns the specified name from this annotation if given orOptional.empty()
if none given.
-
Constructor Details
-
NamedQualifierNameProvider
public NamedQualifierNameProvider()
-
-
Method Details
-
getSpecifiedName
Description copied from interface:AnnotatedElementNameProvider
Returns the specified name from this annotation if given orOptional.empty()
if none given.- Specified by:
getSpecifiedName
in interfaceAnnotatedElementNameProvider<Named>
- Parameters:
annotation
- annotation value of configuration element- Returns:
- specified name of configuration element or empty if none specified
-
getAliases
- Specified by:
getAliases
in interfaceAnnotatedElementAliasesProvider<Named>
-