1 package org
.argeo
.slc
.backup
.vfs
;
3 import java
.text
.DateFormat
;
5 import org
.apache
.commons
.vfs2
.FileSystemManager
;
6 import org
.apache
.commons
.vfs2
.FileSystemOptions
;
8 /** Purges previous backups */
9 public interface BackupPurge
{
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.
16 public void purge(FileSystemManager fileSystemManager
, String base
,
17 String name
, DateFormat dateFormat
, FileSystemOptions opts
);