org.apache.hadoop.fs.permission
Class AclStatus

java.lang.Object
  extended by org.apache.hadoop.fs.permission.AclStatus

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class AclStatus
extends Object

An AclStatus contains the ACL information of a specific file. AclStatus instances are immutable. Use a AclStatus.Builder to create a new instance.


Method Summary
 boolean equals(Object o)
           
 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.
 int hashCode()
           
 boolean isStickyBit()
          Returns the sticky bit.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getOwner

public String getOwner()
Returns the file owner.

Returns:
String file owner

getGroup

public String getGroup()
Returns the file group.

Returns:
String file group

isStickyBit

public boolean isStickyBit()
Returns the sticky bit.

Returns:
boolean sticky bit

getEntries

public List<AclEntry> getEntries()
Returns the list of all ACL entries, ordered by their natural ordering.

Returns:
List unmodifiable ordered list of all ACL entries

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.