@InterfaceAudience.Private public static class FSOperations.FSModifyAclEntries extends Object implements FileSystemAccess.FileSystemExecutor<Void>
| Constructor and Description |
|---|
FSModifyAclEntries(String path,
String aclSpec)
Creates a modify-acl executor.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
execute(org.apache.hadoop.fs.FileSystem fs)
Executes the filesystem operation.
|
public FSModifyAclEntries(String path, String aclSpec)
path - path to set the acl.aclSpec - acl to set.public Void execute(org.apache.hadoop.fs.FileSystem fs) throws IOException
execute in interface FileSystemAccess.FileSystemExecutor<Void>fs - filesystem instance to use.IOException - thrown if an IO error occurred.Copyright © 2017 Apache Software Foundation. All Rights Reserved.