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 Object
analyzeArgs(Object... args)
void
cascadeFields(ComponentDelegate subDelegate)
Object
getComponent()
String
getComponentName()
List
getFieldsToCascade()
String
getLabel()
String
getLabelFistLetterInUpperCase()
groovy.lang.MetaClass
getMetaClass()
Object
getProperty(String property)
void
injectParent(Object subComponent)
Object
invokeMethod(String method, Object arguments)
void
methodMissing(String name, Object args)
Class
parseClassArgument(Object arg)
String
parseNameArgument(Object arg)
void
propertyMissing(String name, Object value)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(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:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in 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()
-
-