]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.cms/src/org/argeo/slc/backup/vfs/BackupPurge.java
Move pgsql from Argeo Commons to SLC
[gpl/argeo-slc.git] / org.argeo.slc.cms / src / org / argeo / slc / backup / vfs / BackupPurge.java
1 package org.argeo.slc.backup.vfs;
2
3 import java.text.DateFormat;
4
5 import org.apache.commons.vfs2.FileSystemManager;
6 import org.apache.commons.vfs2.FileSystemOptions;
7
8 /** Purges previous backups */
9 public interface BackupPurge {
10 /**
11 * Purge the backups identified by these arguments. Although these are the
12 * same fields as a {@link BackupContext} we don't pass it as argument since
13 * we want to use this interface to purge remote backups as well (that is,
14 * with a different base), or outside the scope of a running backup.
15 */
16 public void purge(FileSystemManager fileSystemManager, String base,
17 String name, DateFormat dateFormat, FileSystemOptions opts);
18 }