public class FileCountCleanupRule extends Object implements CleanupRule<FileCountCleanupRule>
| Constructor and Description |
|---|
FileCountCleanupRule() |
FileCountCleanupRule(int maximum) |
| Modifier and Type | Method and Description |
|---|---|
FileCountCleanupRule |
copy() |
void |
finish() |
int |
getMaximum() |
void |
setMaximum(int maximum) |
boolean |
willCleanup(Path possiblePath) |
public FileCountCleanupRule()
public FileCountCleanupRule(int maximum)
public int getMaximum()
public void setMaximum(int maximum)
public FileCountCleanupRule copy()
copy in interface CleanupRule<FileCountCleanupRule>public boolean willCleanup(Path possiblePath)
willCleanup in interface CleanupRule<FileCountCleanupRule>public void finish()
throws IOException
finish in interface CleanupRule<FileCountCleanupRule>IOExceptionCopyright © 2019. All rights reserved.