Package org.apache.curator.framework.api
Interface ParentACLable<T>
-
- All Superinterfaces:
ACLable<T>
- All Known Subinterfaces:
ACLBackgroundPathAndBytesable<T>,ACLCreateModeBackgroundPathAndBytesable<T>,ACLCreateModePathAndBytesable<T>,ACLCreateModeStatBackgroundPathAndBytesable<T>,ACLPathAndBytesable<T>,CreateBackgroundModeACLable,CreateBackgroundModeStatACLable,CreateBuilder,CreateBuilder2,CreateBuilderMain,CreateProtectACLCreateModePathAndBytesable<T>,ProtectACLCreateModePathAndBytesable<T>,ProtectACLCreateModeStatPathAndBytesable<T>,TransactionCreateBuilder<T>,TransactionCreateBuilder2<T>
- All Known Implementing Classes:
CreateBuilderImpl
public interface ParentACLable<T> extends ACLable<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TwithACL(java.util.List<org.apache.zookeeper.data.ACL> aclList, boolean applyToParents)Set an ACL list (default isZooDefs.Ids.OPEN_ACL_UNSAFE).
-
-
-
Method Detail
-
withACL
T withACL(java.util.List<org.apache.zookeeper.data.ACL> aclList, boolean applyToParents)
Set an ACL list (default isZooDefs.Ids.OPEN_ACL_UNSAFE). If applyToParents is true, then the aclList is applied to the created parents. Existing parent nodes are not affected.- Parameters:
aclList- the ACL list to useapplyToParents- if true, then the aclList is applied to the created parents.- Returns:
- this
-
-