- java.lang.Object
-
- ch.qos.logback.core.model.Model
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AppenderRefModel,ComponentModel,ConfigurationModel,ElseModel,IfModel,ImportModel,InsertFromJNDIModel,LevelModel,LoggerModel,NamedModel,ResourceModel,RootLoggerModel,SerializeModelModel,SiftModel,ThenModel
public class Model extends Object implements Serializable
Abstract representation of configuration elements- Since:
- 1.3.0
- Author:
- Ceki Gülcü
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Model()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubModel(Model m)voidaddText(String bodytext)voiddeepMarkAsSkipped()static Modelduplicate(Model that)booleanequals(Object obj)StringgetBodyText()intgetLineNumber()List<Model>getSubModels()StringgetTag()inthashCode()StringidString()booleanisHandled()booleanisSkipped()booleanisUnhandled()protected ModelmakeNewInstance()voidmarkAsHandled()voidmarkAsSkipped()protected voidmirror(Model that)voidsetLineNumber(int lineNumber)voidsetTag(String tag)StringtoString()
-
-
-
Constructor Detail
-
Model
public Model()
-
-
Method Detail
-
makeNewInstance
protected Model makeNewInstance()
-
markAsSkipped
public void markAsSkipped()
-
deepMarkAsSkipped
public void deepMarkAsSkipped()
-
isSkipped
public boolean isSkipped()
-
isUnhandled
public boolean isUnhandled()
-
isHandled
public boolean isHandled()
-
markAsHandled
public void markAsHandled()
-
getLineNumber
public int getLineNumber()
-
setLineNumber
public void setLineNumber(int lineNumber)
-
getSubModels
public List<Model> getSubModels()
-
addSubModel
public void addSubModel(Model m)
-
getBodyText
public String getBodyText()
-
-