Package ch.qos.logback.classic.gaffer
Class ComponentDelegate
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.gaffer.ComponentDelegate
-
- All Implemented Interfaces:
ContextAware,groovy.lang.GroovyObject
- Direct Known Subclasses:
AppenderDelegate
public class ComponentDelegate extends ContextAwareBase implements groovy.lang.GroovyObject
-
-
Constructor Summary
Constructors Constructor Description ComponentDelegate(Object component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectanalyzeArgs(Object... args)voidcascadeFields(ComponentDelegate subDelegate)ObjectgetComponent()StringgetComponentName()ListgetFieldsToCascade()StringgetLabel()StringgetLabelFistLetterInUpperCase()groovy.lang.MetaClassgetMetaClass()ObjectgetProperty(String property)voidinjectParent(Object subComponent)ObjectinvokeMethod(String method, Object arguments)voidmethodMissing(String name, Object args)ClassparseClassArgument(Object arg)StringparseNameArgument(Object arg)voidpropertyMissing(String name, Object value)voidsetMetaClass(groovy.lang.MetaClass mc)voidsetProperty(String property, Object value)-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
ComponentDelegate
public ComponentDelegate(Object component)
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject
-
getComponent
public final Object getComponent()
-
getFieldsToCascade
public final List getFieldsToCascade()
-
getLabel
public String getLabel()
-
getLabelFistLetterInUpperCase
public String getLabelFistLetterInUpperCase()
-
cascadeFields
public void cascadeFields(ComponentDelegate subDelegate)
-
injectParent
public void injectParent(Object subComponent)
-
getComponentName
public String getComponentName()
-
-