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 Details

    • RollingPolicyBase

      public RollingPolicyBase()
      Deprecated.
  • Method Details

    • setFileNamePattern

      public void setFileNamePattern(String fnp)
      Deprecated.
    • getFileNamePattern

      public String getFileNamePattern()
      Deprecated.
    • getCompressionMode

      public CompressionMode getCompressionMode()
      Deprecated.
      Description copied from interface: RollingPolicy
      The compression mode for this policy.
      Specified by:
      getCompressionMode in interface RollingPolicy
      Returns:
    • isStarted

      public boolean isStarted()
      Deprecated.
      Specified by:
      isStarted in interface LifeCycle
    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface LifeCycle
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface LifeCycle
    • 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 interface RollingPolicy
      Parameters:
      appender -
    • isParentPrudent

      public boolean isParentPrudent()
      Deprecated.
    • getParentsRawFileProperty

      public String getParentsRawFileProperty()
      Deprecated.