public class LastModifiedCleanupRule extends Object implements CleanupRule<LastModifiedCleanupRule>
| Constructor and Description |
|---|
LastModifiedCleanupRule() |
LastModifiedCleanupRule(Duration duration) |
| Modifier and Type | Method and Description |
|---|---|
LastModifiedCleanupRule |
copy() |
void |
finish() |
Duration |
getDuration() |
void |
setDuration(Duration duration) |
boolean |
willCleanup(Path possiblePath) |
public LastModifiedCleanupRule()
public LastModifiedCleanupRule(Duration duration)
public Duration getDuration()
public void setDuration(Duration duration)
public LastModifiedCleanupRule copy()
copy in interface CleanupRule<LastModifiedCleanupRule>public boolean willCleanup(Path possiblePath) throws IOException
willCleanup in interface CleanupRule<LastModifiedCleanupRule>IOExceptionpublic void finish()
finish in interface CleanupRule<LastModifiedCleanupRule>Copyright © 2019. All rights reserved.