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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The compression mode for this policy.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.voidsetFileNamePattern(String fnp) Deprecated.voidsetParent(FileAppender<?> appender) Deprecated.This method allows RollingPolicy implementations to be aware of their containing appender.voidstart()Deprecated.voidstop()Deprecated.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.rolling.RollingPolicy
getActiveFileName, rollover
-
Constructor Details
-
RollingPolicyBase
public RollingPolicyBase()Deprecated.
-
-
Method Details
-
setFileNamePattern
Deprecated. -
getFileNamePattern
Deprecated. -
getCompressionMode
Deprecated.Description copied from interface:RollingPolicyThe compression mode for this policy.- Specified by:
getCompressionModein interfaceRollingPolicy- Returns:
-
isStarted
public boolean isStarted()Deprecated. -
start
public void start()Deprecated. -
stop
public void stop()Deprecated. -
setParent
Deprecated.Description copied from interface:RollingPolicyThis method allows RollingPolicy implementations to be aware of their containing appender.- Specified by:
setParentin interfaceRollingPolicy- Parameters:
appender-
-
isParentPrudent
public boolean isParentPrudent()Deprecated. -
getParentsRawFileProperty
Deprecated.
-