Package ch.qos.logback.core.rolling
Class RollingPolicyBase
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.RollingPolicyBase
-
- All Implemented Interfaces:
RollingPolicy
,ContextAware
,LifeCycle
- Direct Known Subclasses:
FixedWindowRollingPolicy
,TimeBasedRollingPolicy
@Deprecated(since="2022-01-27") public abstract class RollingPolicyBase extends ContextAwareBase implements RollingPolicy
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Implements methods common to most, it not all, rolling policies. Currently such methods are limited to a compression mode getter/setter.
-
-
Constructor Summary
Constructors Constructor Description RollingPolicyBase()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompressionMode
getCompressionMode()
Deprecated.The compression mode for this policy.java.lang.String
getFileNamePattern()
Deprecated.java.lang.String
getParentsRawFileProperty()
Deprecated.boolean
isParentPrudent()
Deprecated.boolean
isStarted()
Deprecated.void
setFileNamePattern(java.lang.String fnp)
Deprecated.void
setParent(FileAppender<?> appender)
Deprecated.This method allows RollingPolicy implementations to be aware of their containing appender.void
start()
Deprecated.void
stop()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.rolling.RollingPolicy
getActiveFileName, rollover
-
-
-
-
Method Detail
-
setFileNamePattern
public void setFileNamePattern(java.lang.String fnp)
Deprecated.
-
getFileNamePattern
public java.lang.String getFileNamePattern()
Deprecated.
-
getCompressionMode
public CompressionMode getCompressionMode()
Deprecated.Description copied from interface:RollingPolicy
The compression mode for this policy.- Specified by:
getCompressionMode
in interfaceRollingPolicy
- Returns:
-
setParent
public void setParent(FileAppender<?> appender)
Deprecated.Description copied from interface:RollingPolicy
This method allows RollingPolicy implementations to be aware of their containing appender.- Specified by:
setParent
in interfaceRollingPolicy
-
isParentPrudent
public boolean isParentPrudent()
Deprecated.
-
getParentsRawFileProperty
public java.lang.String getParentsRawFileProperty()
Deprecated.
-
-