public final class ConfigFileWalker extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ConfigFileWalker.ConfigVisitor |
Constructor and Description |
---|
ConfigFileWalker(File root,
ConfigFileWalker.ConfigVisitor visitor) |
ConfigFileWalker(File root,
ConfigFileWalker.ConfigVisitor visitor,
Function<File,ConfigFile> configFileFactory) |
Modifier and Type | Method and Description |
---|---|
ConfigFileWalker |
addFileNameExclude(String fileName) |
Function<File,ConfigFile> |
getConfigFileFactory() |
File |
getRoot() |
ConfigFileWalker.ConfigVisitor |
getVisitor() |
ConfigFileWalker |
setConfigFileFactory(Function<File,ConfigFile> configFileFactory) |
ConfigFileWalker |
setExcludes(Collection<org.apache.commons.io.filefilter.IOFileFilter> excludes) |
ConfigFileWalker |
setRoot(File root) |
ConfigFileWalker |
setVisitor(ConfigFileWalker.ConfigVisitor visitor) |
void |
walk() |
public ConfigFileWalker(File root, ConfigFileWalker.ConfigVisitor visitor)
public ConfigFileWalker(File root, ConfigFileWalker.ConfigVisitor visitor, Function<File,ConfigFile> configFileFactory)
public File getRoot()
public ConfigFileWalker setRoot(File root)
public ConfigFileWalker setExcludes(Collection<org.apache.commons.io.filefilter.IOFileFilter> excludes)
public ConfigFileWalker addFileNameExclude(String fileName)
public ConfigFileWalker.ConfigVisitor getVisitor()
public ConfigFileWalker setVisitor(ConfigFileWalker.ConfigVisitor visitor)
public Function<File,ConfigFile> getConfigFileFactory()
public ConfigFileWalker setConfigFileFactory(Function<File,ConfigFile> configFileFactory)
public void walk()
Copyright © 2002-2022 Atlassian. All Rights Reserved.