Liking cljdoc? Tell your friends :D

jdk.nio.file.attribute.AclEntry

An entry in an access control list (ACL).

The ACL entry represented by this class is based on the ACL model specified in RFC 3530: Network File System (NFS) version 4 Protocol. Each entry has four components as follows:

The type component determines if the entry

grants or denies access.

The principal component, sometimes called the

"who" component, is a UserPrincipal corresponding to the identity that the entry grants or denies access

The permissions component is a set of

permissions

The flags component is a set of flags to indicate how entries are inherited and propagated

ACL entries are created using an associated AclEntry.Builder object by invoking its build method.

ACL entries are immutable and are safe for use by multiple concurrent threads.

An entry in an access control list (ACL).

 The ACL entry represented by this class is based on the ACL model
specified in RFC 3530:
Network File System (NFS) version 4 Protocol. Each entry has four
components as follows:


    The type component determines if the entry
   grants or denies access.

    The principal component, sometimes called the
   "who" component, is a UserPrincipal corresponding to the identity
   that the entry grants or denies access


    The permissions component is a set of
   permissions


    The flags component is a set of flags to indicate how entries are inherited and propagated


 ACL entries are created using an associated AclEntry.Builder object by
invoking its build method.

 ACL entries are immutable and are safe for use by multiple concurrent
threads.
raw docstring

*new-builderclj

(*new-builder)
(*new-builder entry)

Constructs a new builder with the components of an existing ACL entry.

entry - an ACL entry - java.nio.file.attribute.AclEntry

returns: a new builder - java.nio.file.attribute.AclEntry$Builder

Constructs a new builder with the components of an existing ACL entry.

entry - an ACL entry - `java.nio.file.attribute.AclEntry`

returns: a new builder - `java.nio.file.attribute.AclEntry$Builder`
raw docstring

equalsclj

(equals this ob)

Compares the specified object with this ACL entry for equality.

If the given object is not an AclEntry then this method immediately returns false.

For two ACL entries to be considered equals requires that they are both the same type, their who components are equal, their permissions components are equal, and their flags components are equal.

This method satisfies the general contract of the Object.equals method.

ob - the object to which this object is to be compared - java.lang.Object

returns: true if, and only if, the given object is an AclEntry that is identical to this AclEntry - boolean

Compares the specified object with this ACL entry for equality.

  If the given object is not an AclEntry then this method
 immediately returns false.

  For two ACL entries to be considered equals requires that they are
 both the same type, their who components are equal, their permissions
 components are equal, and their flags components are equal.

  This method satisfies the general contract of the Object.equals method.

ob - the object to which this object is to be compared - `java.lang.Object`

returns: true if, and only if, the given object is an AclEntry that
          is identical to this AclEntry - `boolean`
raw docstring

flagsclj

(flags this)

Returns a copy of the flags component.

The returned set is a modifiable copy of the flags.

returns: the flags component - java.util.Set<java.nio.file.attribute.AclEntryFlag>

Returns a copy of the flags component.

  The returned set is a modifiable copy of the flags.

returns: the flags component - `java.util.Set<java.nio.file.attribute.AclEntryFlag>`
raw docstring

hash-codeclj

(hash-code this)

Returns the hash-code value for this ACL entry.

This method satisfies the general contract of the Object.hashCode() method.

returns: a hash code value for this object. - int

Returns the hash-code value for this ACL entry.

  This method satisfies the general contract of the Object.hashCode() method.

returns: a hash code value for this object. - `int`
raw docstring

permissionsclj

(permissions this)

Returns a copy of the permissions component.

The returned set is a modifiable copy of the permissions.

returns: the permissions component - java.util.Set<java.nio.file.attribute.AclEntryPermission>

Returns a copy of the permissions component.

  The returned set is a modifiable copy of the permissions.

returns: the permissions component - `java.util.Set<java.nio.file.attribute.AclEntryPermission>`
raw docstring

principalclj

(principal this)

Returns the principal component.

returns: the principal component - java.nio.file.attribute.UserPrincipal

Returns the principal component.

returns: the principal component - `java.nio.file.attribute.UserPrincipal`
raw docstring

to-stringclj

(to-string this)

Returns the string representation of this ACL entry.

returns: the string representation of this entry - java.lang.String

Returns the string representation of this ACL entry.

returns: the string representation of this entry - `java.lang.String`
raw docstring

typeclj

(type this)

Returns the ACL entry type.

returns: the ACL entry type - java.nio.file.attribute.AclEntryType

Returns the ACL entry type.

returns: the ACL entry type - `java.nio.file.attribute.AclEntryType`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close