org.apache.hadoop.fs.http.server
Class FSOperations.FSRemoveAcl

java.lang.Object
  extended by org.apache.hadoop.fs.http.server.FSOperations.FSRemoveAcl
All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
Enclosing class:
FSOperations

@InterfaceAudience.Private
public static class FSOperations.FSRemoveAcl
extends Object
implements FileSystemAccess.FileSystemExecutor<Void>

Executor that removes all acls from a file in a FileSystem


Constructor Summary
FSOperations.FSRemoveAcl(String path)
          Creates a remove-acl executor.
 
Method Summary
 Void execute(org.apache.hadoop.fs.FileSystem fs)
          Executes the filesystem operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSOperations.FSRemoveAcl

public FSOperations.FSRemoveAcl(String path)
Creates a remove-acl executor.

Parameters:
path - path from which to remove the acl.
Method Detail

execute

public Void execute(org.apache.hadoop.fs.FileSystem fs)
             throws IOException
Executes the filesystem operation.

Specified by:
execute in interface FileSystemAccess.FileSystemExecutor<Void>
Parameters:
fs - filesystem instance to use.
Returns:
void.
Throws:
IOException - thrown if an IO error occurred.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.