@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class ChFSBaseBuilder<B extends ChFSBaseBuilder<B>> extends Object
ChgrpBuilder and ChmodBuilder.| Constructor and Description |
|---|
ChFSBaseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected ChFSBase.ConstructionData |
getConstructionData() |
protected abstract B |
getRuntimeSelfReference() |
B |
setDirFiles(boolean dirFiles)
Sets whether this file system operation should be applied to all files in the given directory.
|
B |
setNonRecursive()
Sets this file system operation to be non-recursive.
|
B |
setRecursive()
Sets this file system operation to be recursive.
|
B |
withPath(String path)
Sets the path of the target of this file system operation.
|
public B setRecursive()
public B setNonRecursive()
public B withPath(String path)
path - the path of the targetpublic B setDirFiles(boolean dirFiles)
dirFiles - true if the operation should be applied to all files in the given directory;
false if it shouldn't.protected ChFSBase.ConstructionData getConstructionData()
protected abstract B getRuntimeSelfReference()
Copyright © 2021 Apache Software Foundation. All rights reserved.