Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling.action |
Support classes for the Rolling File Appender.
|
Modifier and Type | Class and Description |
---|---|
class |
PathSortByModificationTime
PathSorter that sorts path by their LastModified attribute. |
Modifier and Type | Field and Description |
---|---|
private PathSorter |
DeleteAction.pathSorter |
private PathSorter |
SortingVisitor.sorter |
Modifier and Type | Method and Description |
---|---|
static PathSorter |
PathSortByModificationTime.createSorter(boolean recentFirst)
Create a PathSorter that sorts by lastModified time.
|
Modifier and Type | Method and Description |
---|---|
static DeleteAction |
DeleteAction.createDeleteAction(java.lang.String basePath,
boolean followLinks,
int maxDepth,
boolean testMode,
PathSorter sorterParameter,
PathCondition[] pathConditions,
ScriptCondition scriptCondition,
Configuration config)
Create a DeleteAction.
|
Constructor and Description |
---|
DeleteAction(java.lang.String basePath,
boolean followSymbolicLinks,
int maxDepth,
boolean testMode,
PathSorter sorter,
PathCondition[] pathConditions,
ScriptCondition scriptCondition,
StrSubstitutor subst)
Creates a new DeleteAction that starts scanning for files to delete from the specified base path.
|
SortingVisitor(PathSorter sorter)
Constructs a new DeletingVisitor.
|