confirmDelete = Boolean.valueOf(st.nextToken());
} catch (Exception e)
{
- System.out.println("Error parsing backupfiles scheme '" + line + "'");
+ Cache.log.error("Error parsing backupfiles scheme '" + line + "'");
}
return new BackupFilesPresetEntry(suffix, digits, reverse, keepAll,
new IntKeyStringValueEntry(BACKUPFILESSCHEMECUSTOM,
MessageManager.getString("label.custom")) };
- public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<>()
+ public static final String[] backupfilesPresetEntryDescriptions = {
+ MessageManager.getString("label.default_description"),
+ MessageManager.getString("label.single_file_description"),
+ MessageManager.getString("label.keep_all_versions_description"),
+ MessageManager.getString("label.rolled_backups_description"),
+ MessageManager.getString("label.custom_description") };
+
+ public static final Map<Integer, BackupFilesPresetEntry> backupfilesPresetEntriesValues = new HashMap<Integer, BackupFilesPresetEntry>()
{
/**
*