Class NeverBackupStrategy
- java.lang.Object
-
- com.elvishew.xlog.printer.file.backup.NeverBackupStrategy
-
- All Implemented Interfaces:
BackupStrategy
public class NeverBackupStrategy extends java.lang.Object implements BackupStrategy
Never backup the log file.- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description NeverBackupStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldBackup(java.io.File file)Whether we should backup a specified log file.
-
-
-
Method Detail
-
shouldBackup
public boolean shouldBackup(java.io.File file)
Description copied from interface:BackupStrategyWhether we should backup a specified log file.- Specified by:
shouldBackupin interfaceBackupStrategy- Parameters:
file- the log file- Returns:
- true is we should backup the log file
-
-