- java.lang.Object
-
- ch.qos.logback.core.model.Model
-
- ch.qos.logback.core.model.NamedModel
-
- ch.qos.logback.core.model.TimestampModel
-
- All Implemented Interfaces:
INamedModel,Serializable
public class TimestampModel extends NamedModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_BIRTH
-
Constructor Summary
Constructors Constructor Description TimestampModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDatePattern()StringgetKey()StringgetScopeStr()StringgetTimeReference()inthashCode()protected TimestampModelmakeNewInstance()protected voidmirror(Model that)voidsetDatePattern(String datePattern)voidsetKey(String key)voidsetScopeStr(String scopeStr)voidsetTimeReference(String timeReference)-
Methods inherited from class ch.qos.logback.core.model.NamedModel
getName, setName
-
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, toString
-
-
-
-
Field Detail
-
CONTEXT_BIRTH
public static final String CONTEXT_BIRTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TimestampModel
public TimestampModel()
-
-
Method Detail
-
makeNewInstance
protected TimestampModel makeNewInstance()
- Overrides:
makeNewInstancein classNamedModel
-
mirror
protected void mirror(Model that)
- Overrides:
mirrorin classNamedModel
-
getDatePattern
public String getDatePattern()
-
setDatePattern
public void setDatePattern(String datePattern)
-
getTimeReference
public String getTimeReference()
-
setTimeReference
public void setTimeReference(String timeReference)
-
getScopeStr
public String getScopeStr()
-
setScopeStr
public void setScopeStr(String scopeStr)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classNamedModel
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classNamedModel
-
-