FileSystemAccess.FileSystemExecutor<java.lang.Void>@Private public static class FSOperations.FSSetPermission extends java.lang.Object implements FileSystemAccess.FileSystemExecutor<java.lang.Void>
| Constructor | Description |
|---|---|
FSSetPermission(java.lang.String path,
short permission) |
Creates a set-permission executor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Void |
execute(org.apache.hadoop.fs.FileSystem fs) |
Executes the filesystem operation.
|
public FSSetPermission(java.lang.String path,
short permission)
path - path to set the permission.permission - permission to set.public java.lang.Void execute(org.apache.hadoop.fs.FileSystem fs)
throws java.io.IOException
execute in interface FileSystemAccess.FileSystemExecutor<java.lang.Void>fs - filesystem instance to use.java.io.IOException - thrown if an IO error occurred.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.