@InterfaceAudience.Private @InterfaceStability.Unstable public class ChmodBuilder extends ChFSBaseBuilder<ChmodBuilder> implements Builder<Chmod>
Chmod.
The properties of the builder can only be set once, an attempt to set them a second time will trigger
an IllegalStateException. The properties that are lists are an exception to this rule, of course multiple
elements can be added / removed.
Builder instances can be used to build several elements, although properties already set cannot be changed after
a call to build() either.| Constructor and Description |
|---|
ChmodBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Chmod |
build()
Builds and returns a new
Chmod object with the properties set in this builder. |
protected ChmodBuilder |
getRuntimeSelfReference() |
ChmodBuilder |
withPermissions(String permissions)
Sets the new permissions that will be set by the operation.
|
getConstructionData, setDirFiles, setNonRecursive, setRecursive, withPathpublic ChmodBuilder withPermissions(String permissions)
permissions - The new permissions that will be set by the operation.public Chmod build()
protected ChmodBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class ChFSBaseBuilder<ChmodBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.