Class NeverBackupStrategy

  • All Implemented Interfaces:
    BackupStrategy

    public class NeverBackupStrategy
    extends java.lang.Object
    implements BackupStrategy
    Never backup the log file.
    Since:
    1.3.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldBackup​(java.io.File file)
      Whether we should backup a specified log file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NeverBackupStrategy

        public NeverBackupStrategy()
    • Method Detail

      • shouldBackup

        public boolean shouldBackup​(java.io.File file)
        Description copied from interface: BackupStrategy
        Whether we should backup a specified log file.
        Specified by:
        shouldBackup in interface BackupStrategy
        Parameters:
        file - the log file
        Returns:
        true is we should backup the log file