Package hudson.plugins.jobConfigHistory
Class DeletedFileFilter
java.lang.Object
hudson.plugins.jobConfigHistory.DeletedFileFilter
- All Implemented Interfaces:
FileFilter
A filter to return only those directories of a file listing that represent
deleted jobs history directories, the names of which contain
DELETED_MARKER
.- Author:
- Mirko Friedenhagen
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
name of history xml file.static final DeletedFileFilter
Only one instance needed. -
Constructor Summary
-
Method Summary
-
Field Details
-
DELETED_MARKER
name of history xml file.- See Also:
-
INSTANCE
Only one instance needed.
-
-
Constructor Details
-
DeletedFileFilter
public DeletedFileFilter()
-
-
Method Details
-
accepts
Is this item deleted?- Parameters:
file
- to inspect- Returns:
- true when file has the special deleted mark.
-
accepts
Is this item deleted?- Parameters:
fileName
- to inspect- Returns:
- true when fileName has the special deleted mark.
-
accept
- Specified by:
accept
in interfaceFileFilter
-