- java.lang.Object
-
- ch.qos.logback.core.model.Model
-
- ch.qos.logback.core.model.conditional.IfModel
-
- All Implemented Interfaces:
Serializable
public class IfModel extends Model
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIfModel.BranchState
-
Constructor Summary
Constructors Constructor Description IfModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)IfModel.BranchStategetBranchState()StringgetCondition()inthashCode()protected IfModelmakeNewInstance()protected voidmirror(Model that)voidresetBranchState()voidsetBranchState(boolean booleanProxy)voidsetBranchState(IfModel.BranchState state)voidsetCondition(String condition)StringtoString()-
Methods inherited from class ch.qos.logback.core.model.Model
addSubModel, addText, deepMarkAsSkipped, duplicate, getBodyText, getLineNumber, getSubModels, getTag, idString, isHandled, isSkipped, isUnhandled, markAsHandled, markAsSkipped, setLineNumber, setTag
-
-
-
-
Constructor Detail
-
IfModel
public IfModel()
-
-
Method Detail
-
makeNewInstance
protected IfModel makeNewInstance()
- Overrides:
makeNewInstancein classModel
-
getCondition
public String getCondition()
-
setCondition
public void setCondition(String condition)
-
getBranchState
public IfModel.BranchState getBranchState()
-
setBranchState
public void setBranchState(IfModel.BranchState state)
-
setBranchState
public void setBranchState(boolean booleanProxy)
-
resetBranchState
public void resetBranchState()
-
-