@InterfaceAudience.Public @InterfaceStability.Stable public class AclStatus extends Object
AclStatus.Builder
to create a new instance.Modifier and Type | Class and Description |
---|---|
static class |
AclStatus.Builder
Builder for creating new Acl instances.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
FsAction |
getEffectivePermission(AclEntry entry)
Get the effective permission for the AclEntry
|
FsAction |
getEffectivePermission(AclEntry entry,
FsPermission permArg)
Get the effective permission for the AclEntry.
|
List<AclEntry> |
getEntries()
Returns the list of all ACL entries, ordered by their natural ordering.
|
String |
getGroup()
Returns the file group.
|
String |
getOwner()
Returns the file owner.
|
FsPermission |
getPermission()
Returns the permission set for the path
|
int |
hashCode() |
boolean |
isStickyBit()
Returns the sticky bit.
|
String |
toString() |
public String getOwner()
public String getGroup()
public boolean isStickyBit()
public List<AclEntry> getEntries()
public FsPermission getPermission()
FsPermission
for the pathpublic FsAction getEffectivePermission(AclEntry entry)
entry
- AclEntry to get the effective actionpublic FsAction getEffectivePermission(AclEntry entry, FsPermission permArg) throws IllegalArgumentException
getEffectivePermission(AclEntry)
.entry
- AclEntry to get the effective actionpermArg
- Permission for the path. However if the client is NOT
communicating with old namenode, then this argument will not have
any preference.IllegalArgumentException
- If the client communicating with old
namenode and permission is not passed as an argument.Copyright © 2022 Apache Software Foundation. All rights reserved.