@InterfaceAudience.Private @InterfaceStability.Unstable public class ChgrpBuilder extends ChFSBaseBuilder<ChgrpBuilder> implements Builder<Chgrp>
Chgrp.
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 |
|---|
ChgrpBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Chgrp |
build()
Builds and returns a new
Chgrp object with the properties set in this builder. |
protected ChgrpBuilder |
getRuntimeSelfReference() |
ChgrpBuilder |
withGroup(String group)
Sets the new group that will be set by the operation.
|
getConstructionData, setDirFiles, setNonRecursive, setRecursive, withPathpublic ChgrpBuilder withGroup(String group)
group - The group that will be set by the operation.public Chgrp build()
protected ChgrpBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class ChFSBaseBuilder<ChgrpBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.