|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilePurgeService
Methods needed to purge files in the FilePurgeStep
| Method Summary | |
|---|---|
int |
getDaysBeforePurgeForCustomAge(FilePurgeCustomAge customAge)
Returns the age in days that files matching this custom age should leave matching files before purging |
int |
getStandardDaysBeforePurge()
Looks up the parameter for the standard number of days before a file should be purged |
void |
purgeFiles(String directory,
List<FilePurgeCustomAge> customAges)
Purges old files from the given directory |
| Method Detail |
|---|
void purgeFiles(String directory,
List<FilePurgeCustomAge> customAges)
directory - the directory to purgecustomAges - the List of customized ages for files which do not follow the standardint getDaysBeforePurgeForCustomAge(FilePurgeCustomAge customAge)
customAge - a custom age to check
int getStandardDaysBeforePurge()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||