ch.qos.logback.core.rolling.helper
Class DefaultArchiveRemover

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.rolling.helper.DefaultArchiveRemover
All Implemented Interfaces:
ArchiveRemover, ContextAware
Direct Known Subclasses:
SizeAndTimeBasedArchiveRemover

public class DefaultArchiveRemover
extends ContextAwareBase
implements ArchiveRemover


Field Summary
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
DefaultArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar rc)
           
 
Method Summary
 void clean(Date now)
           
 void setMaxHistory(int maxHistory)
           
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
 

Constructor Detail

DefaultArchiveRemover

public DefaultArchiveRemover(FileNamePattern fileNamePattern,
                             RollingCalendar rc)
Method Detail

clean

public void clean(Date now)
Specified by:
clean in interface ArchiveRemover

setMaxHistory

public void setMaxHistory(int maxHistory)
Specified by:
setMaxHistory in interface ArchiveRemover


Copyright © 2005-2011 QOS.ch. All Rights Reserved.