@Public
@Stable
public class AclStatus
extends java.lang.Object
AclStatus.Builder to create a new instance.| Modifier and Type | Class | Description |
|---|---|---|
static class |
AclStatus.Builder |
Builder for creating new Acl instances.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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.
|
java.util.List<AclEntry> |
getEntries() |
Returns the list of all ACL entries, ordered by their natural ordering.
|
java.lang.String |
getGroup() |
Returns the file group.
|
java.lang.String |
getOwner() |
Returns the file owner.
|
FsPermission |
getPermission() |
Returns the permission set for the path
|
int |
hashCode() |
|
boolean |
isStickyBit() |
Returns the sticky bit.
|
java.lang.String |
toString() |
public java.lang.String getOwner()
public java.lang.String getGroup()
public boolean isStickyBit()
public java.util.List<AclEntry> getEntries()
public FsPermission getPermission()
FsPermission for the pathpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic FsAction getEffectivePermission(AclEntry entry)
entry - AclEntry to get the effective actionpublic FsAction getEffectivePermission(AclEntry entry, FsPermission permArg) throws java.lang.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.java.lang.IllegalArgumentException - If the client communicating with old
namenode and permission is not passed as an argument.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.