Class Component
- java.lang.Object
-
- org.apache.logging.log4j.core.config.builder.api.Component
-
public class Component extends java.lang.ObjectContainer for building Configurations. This class is not normally directly manipulated by users of the Assembler API.- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaddAttribute(java.lang.String key, java.lang.String newValue)voidaddComponent(Component component)java.util.Map<java.lang.String,java.lang.String>getAttributes()java.util.List<Component>getComponents()java.lang.StringgetPluginType()java.lang.StringgetValue()
-
-
-
Method Detail
-
addAttribute
public java.lang.String addAttribute(java.lang.String key, java.lang.String newValue)
-
addComponent
public void addComponent(Component component)
-
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
-
getComponents
public java.util.List<Component> getComponents()
-
getPluginType
public java.lang.String getPluginType()
-
getValue
public java.lang.String getValue()
-
-