in curator-framework/src/main/java/org/apache/curator/framework/imps/CreateBuilderImpl.java [323:377]
public ACLBackgroundPathAndBytesable<String> withACL(List<ACL> aclList, boolean applyToParents) {
acling = new ACLing(client.getAclProvider(), aclList, applyToParents);
return new ACLBackgroundPathAndBytesable<String>() {
@Override
public BackgroundPathAndBytesable<String> withACL(List<ACL> aclList) {
return CreateBuilderImpl.this.withACL(aclList);
}
@Override
public BackgroundPathAndBytesable<String> withACL(List<ACL> aclList, boolean applyToParents) {
return CreateBuilderImpl.this.withACL(aclList, applyToParents);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground() {
return CreateBuilderImpl.this.inBackground();
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback, Object context) {
return CreateBuilderImpl.this.inBackground(callback, context);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(
BackgroundCallback callback, Object context, Executor executor) {
return CreateBuilderImpl.this.inBackground(callback, context, executor);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(Object context) {
return CreateBuilderImpl.this.inBackground(context);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback) {
return CreateBuilderImpl.this.inBackground(callback);
}
@Override
public ErrorListenerPathAndBytesable<String> inBackground(BackgroundCallback callback, Executor executor) {
return CreateBuilderImpl.this.inBackground(callback, executor);
}
@Override
public String forPath(String path, byte[] data) throws Exception {
return CreateBuilderImpl.this.forPath(path, data);
}
@Override
public String forPath(String path) throws Exception {
return CreateBuilderImpl.this.forPath(path);
}
};
}