Package ch.qos.logback.core.rolling
Class DefaultTimeBasedFileNamingAndTriggeringPolicy<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase<E>
-
- ch.qos.logback.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy<E>
-
- Type Parameters:
E-
- All Implemented Interfaces:
TimeBasedFileNamingAndTriggeringPolicy<E>,TriggeringPolicy<E>,ContextAware,LifeCycle
@Deprecated(since="2022-01-27") public class DefaultTimeBasedFileNamingAndTriggeringPolicy<E> extends TimeBasedFileNamingAndTriggeringPolicyBase<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.
-
-
Constructor Summary
Constructors Constructor Description DefaultTimeBasedFileNamingAndTriggeringPolicy()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanisTriggeringEvent(java.io.File activeFile, E event)Deprecated.Should roll-over be triggered at this time?voidstart()Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class ch.qos.logback.core.rolling.TimeBasedFileNamingAndTriggeringPolicyBase
getArchiveRemover, getCurrentPeriodsFileNameWithoutCompressionSuffix, getCurrentTime, getElapsedPeriodsFileName, isStarted, setCurrentTime, setDateInCurrentPeriod, setTimeBasedRollingPolicy, stop
-
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, wait, wait, wait
-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
-
-
-
Method Detail
-
start
public void start()
Deprecated.- Specified by:
startin interfaceLifeCycle- Overrides:
startin classTimeBasedFileNamingAndTriggeringPolicyBase<E>
-
isTriggeringEvent
public boolean isTriggeringEvent(java.io.File activeFile, E event)Deprecated.Description copied from interface:TriggeringPolicyShould roll-over be triggered at this time?- Parameters:
activeFile- A reference to the currently active log file.event- A reference to the currently event.- Returns:
- true if a roll-over should occur.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-