Package org.smallmind.nutsnbolts.io
Class DeleteTreeConfigurationBuilder
- java.lang.Object
-
- org.smallmind.nutsnbolts.io.DeleteTreeConfigurationBuilder
-
public class DeleteTreeConfigurationBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description DeleteTreeConfigurationBuilder(Path target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild()DeleteTreeConfigurationBuilderfilter(PathFilter... pathFilters)DeleteTreeConfigurationBuilderincludeTargetDirectory(boolean includeTargetDirectory)DeleteTreeConfigurationBuilderthrowErrorOnDirectoryNotEmpty(boolean throwErrorOnDirectoryNotEmpty)
-
-
-
Constructor Detail
-
DeleteTreeConfigurationBuilder
public DeleteTreeConfigurationBuilder(Path target)
-
-
Method Detail
-
filter
public DeleteTreeConfigurationBuilder filter(PathFilter... pathFilters)
-
includeTargetDirectory
public DeleteTreeConfigurationBuilder includeTargetDirectory(boolean includeTargetDirectory)
-
throwErrorOnDirectoryNotEmpty
public DeleteTreeConfigurationBuilder throwErrorOnDirectoryNotEmpty(boolean throwErrorOnDirectoryNotEmpty)
-
build
public void build() throws IOException- Throws:
IOException
-
-