java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.util.AggregationAssessor
- All Implemented Interfaces:
ContextAware
Various utility methods for computing the
AggregationType
of a given property or
the class name of a property given implicit rules.
This class was extracted from PropertySetter
.
- Since:
- 1.5.1
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
ConstructorDescriptionAggregationAssessor
(BeanDescriptionCache beanDescriptionCache, Class objClass) -
Method Summary
Modifier and TypeMethodDescriptioncomputeAggregationType
(String name) Given a property name, this method computes/assessesAggregationType
for the property for the class passed to the constructor.findAdderMethod
(String name) findSetterMethod
(String name) Class
<?> getClassNameViaImplicitRules
(String name, AggregationType aggregationType, DefaultNestedComponentRegistry registry) Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
objClass
-
beanDescription
-
-
Constructor Details
-
AggregationAssessor
-
-
Method Details
-
computeAggregationType
Given a property name, this method computes/assessesAggregationType
for the property for the class passed to the constructor.- Parameters:
name
-- Returns:
- the computed
AggregationType
-
findAdderMethod
-
findSetterMethod
-
getClassNameViaImplicitRules
public Class<?> getClassNameViaImplicitRules(String name, AggregationType aggregationType, DefaultNestedComponentRegistry registry)
-