Package ch.qos.logback.classic.gaffer
Class AppenderDelegate
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.gaffer.ComponentDelegate
-
- ch.qos.logback.classic.gaffer.AppenderDelegate
-
- All Implemented Interfaces:
ContextAware
,groovy.lang.GroovyObject
public class AppenderDelegate extends ComponentDelegate implements groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description AppenderDelegate(Appender appender)
AppenderDelegate(Appender appender, java.util.List<Appender<?>> appenders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appenderRef(java.lang.String name)
java.util.Map<java.lang.String,Appender<?>>
getAppendersByName()
java.lang.String
getLabel()
groovy.lang.MetaClass
getMetaClass()
java.lang.Object
getProperty(java.lang.String property)
java.lang.Object
invokeMethod(java.lang.String method, java.lang.Object arguments)
void
setAppendersByName(java.util.Map<java.lang.String,Appender<?>> value)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(java.lang.String property, java.lang.Object value)
-
Methods inherited from class ch.qos.logback.classic.gaffer.ComponentDelegate
analyzeArgs, cascadeFields, getComponent, getComponentName, getFieldsToCascade, getLabelFistLetterInUpperCase, injectParent, methodMissing, parseClassArgument, parseNameArgument, propertyMissing
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
getMetaClass
in classComponentDelegate
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
- Overrides:
setMetaClass
in classComponentDelegate
-
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
- Overrides:
invokeMethod
in classComponentDelegate
-
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
getProperty
in classComponentDelegate
-
setProperty
public void setProperty(java.lang.String property, java.lang.Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
- Overrides:
setProperty
in classComponentDelegate
-
getAppendersByName
public java.util.Map<java.lang.String,Appender<?>> getAppendersByName()
-
setAppendersByName
public void setAppendersByName(java.util.Map<java.lang.String,Appender<?>> value)
-
getLabel
public java.lang.String getLabel()
- Overrides:
getLabel
in classComponentDelegate
-
appenderRef
public void appenderRef(java.lang.String name)
-
-